新建一个helloworld工程,构建编译后用AS打开工程···能够打包APK。
然后点击AS的运行按妞抛了一个externalNativeBuildRelease的错误,然后我又点击调试按钮还是抛出externalNativeBuildRelease的问题···
Error:(140, 1) A problem occurred configuring project ‘:hello_world’.
Could not get unknown property ‘externalNativeBuildRelease’ for project ‘:hello_world’ of type org.gradle.api.Project.
FAILURE: Build failed with an exception.
-
Where:
Build file ‘/Users/wangjie/Desktop/NewProject/build/jsb-default/frameworks/runtime-src/proj.android-studio/app/build.gradle’ line: 140 -
What went wrong:
A problem occurred configuring project ‘:hello_world’.
Could not get unknown property ‘externalNativeBuildRelease’ for project ‘:hello_world’ of type org.gradle.api.Project.
- Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Try给出的三个方式点击又能够编译过···但还是在真机上运行和调试。