diff --git a/apps/android_camera/README.md b/apps/android_camera/README.md index e7b8336fe716..cf84989d42ff 100644 --- a/apps/android_camera/README.md +++ b/apps/android_camera/README.md @@ -108,3 +108,13 @@ Run uninstall first: ```bash $ANDROID_HOME/platform-tools/adb uninstall ml.apache.tvm.android.androidcamerademo ``` +### Troubleshooting + +If you build the application in Android Studio and see error similar to this one: +``` +A problem occurred evaluating project ':app'. +> Failed to apply plugin 'com.android.internal.version-check'. + > Minimum supported Gradle version is 7.5. Current version is 7.4. If using the gradle wrapper, try editing the distributionUrl in /Users/echuraev/Workspace/OctoML/tvm_android_test/apps/android_deploy/gradle/wrapper/gradle-wrapper.properties to gradle-7.5-all.zip +``` +Run project syncing `File -> Sync Project with Gradle Files`. It should sync the +project and create gradle-wrapper files. diff --git a/apps/android_camera/app/src/main/AndroidManifest.xml b/apps/android_camera/app/src/main/AndroidManifest.xml index 6d1bdf2f5ffb..9ed232f273e7 100644 --- a/apps/android_camera/app/src/main/AndroidManifest.xml +++ b/apps/android_camera/app/src/main/AndroidManifest.xml @@ -25,6 +25,9 @@ android:supportsRtl="true" android:theme="@style/AppTheme" tools:ignore="AllowBackup,MissingApplicationIcon"> + Failed to apply plugin 'com.android.internal.version-check'. + > Minimum supported Gradle version is 7.5. Current version is 7.4. If using the gradle wrapper, try editing the distributionUrl in /Users/echuraev/Workspace/OctoML/tvm_android_test/apps/android_deploy/gradle/wrapper/gradle-wrapper.properties to gradle-7.5-all.zip +``` +Run project syncing `File -> Sync Project with Gradle Files`. It should sync the +project and create gradle-wrapper files. diff --git a/apps/android_deploy/app/src/main/AndroidManifest.xml b/apps/android_deploy/app/src/main/AndroidManifest.xml index 17a872ff315f..1201ad5f37f2 100644 --- a/apps/android_deploy/app/src/main/AndroidManifest.xml +++ b/apps/android_deploy/app/src/main/AndroidManifest.xml @@ -31,6 +31,9 @@ under the License. android:label="@string/app_name" android:supportsRtl="true" android:theme="@style/AppTheme" > + Failed to apply plugin 'com.android.internal.version-check'. + > Minimum supported Gradle version is 7.5. Current version is 7.4. If using the gradle wrapper, try editing the distributionUrl in /Users/echuraev/Workspace/OctoML/tvm_android_test/apps/android_deploy/gradle/wrapper/gradle-wrapper.properties to gradle-7.5-all.zip +``` +Run project syncing `File -> Sync Project with Gradle Files`. It should sync the +project and create gradle-wrapper files. diff --git a/apps/android_rpc/app/src/main/AndroidManifest.xml b/apps/android_rpc/app/src/main/AndroidManifest.xml index 2cba4af8867f..afe4899ae634 100644 --- a/apps/android_rpc/app/src/main/AndroidManifest.xml +++ b/apps/android_rpc/app/src/main/AndroidManifest.xml @@ -29,6 +29,9 @@ under the License. android:supportsRtl="true" android:theme="@style/AppTheme" android:icon="@mipmap/ic_launcher"> +