1.导入美摄sdk后,出现了一个native使用mips的strip的err.直接把ndk,lldb,cmake禁止,ok.
推测只禁止ndk就可以.
https://stackoverflow.com/questions/42739916/aarch64-linux-android-strip-file-missing/42791608
90 down vote
I have Android Studio 3.1.2 and after I approved the IDE suggested updates I got the next errors:
org.gradle.api.tasks.TaskExecutionException: Execution failed for task '...'.
Caused by: org.gradle.process.internal.ExecException: A problem occurred starting process 'command '/Users/.../Library/Android/sdk/ndk-bundle/toolchains/mips64el-linux-android-4.9/prebuilt/darwin-x86_64/bin/mips64el-linux-android-strip'
Caused by: net.rubygrapefruit.platform.NativeException: Could not start '/Users/.../Library/Android/sdk/ndk-bundle/toolchains/mips64el-linux-android-4.9/prebuilt/darwin-x86_64/bin/mips64el-linux-android-strip'
Caused by: java.io.IOException: Cannot run program "/Users/.../Library/Android/sdk/ndk-bundle/toolchains/mips64el-linux-android-4.9/prebuilt/darwin-x86_64/bin/mips64el-linux-android-strip" (in directory "/Users/.../.../.../app"): error=2, No such file or directory
Caused by: java.io.IOException: error=2, No such file or directory
It looks like there is a problem with NDK version 17.0.4754217.
Since I don't use ndk components in my project for me the solution was removing NDK from the SDK Manager.
Go to SDK Manager -> SDK Tools tab -> uncheck NDK -> Apply.
answered May 13 at 12:27
1,1981810
-
1
Helped me to build and run the project with OpenCV lib integrated (before the update to Android Studio 3.1.2 it works without problems), but it is a temporary workaround. This issue might somehow connected to the mips, mips64, armeabi deprecation in NDK r17: developer.android.com/ndk/guides/abis#sa – yaroslav May 14 at 8:33
-
1
thank you.. My issue resolved – Bhavesh Vadalia May 14 at 9:48
-
Thank you so much @CookieMonster, your answer is saved my day. – Thirumalvalavan May 15 at 10:00
-
1
This worked for me, but god forbid I have to actually build native code after this. How does Google screw this kind of thing up so often? "Stable release", whatever. – AutonomousApps May 17 at 17:41