参考博客:https://www.cnblogs.com/singledogpro/p/9551841.html 安装Android Studio 走了不少弯路,现在整理出来,仅当备忘使用. 首先要先配置JAVA环境,最好是1.8版本,否则后面配置uiautomatorviewer.bat,会出现如下错误: 配置好正确版本的Java,再下载android studio(http://www.android-studio.org/),下载完毕后,点击运行,勾选Android virtual Dev
可以参考官网:https://github.com/tensorflow/tensorflow/tree/master/tensorflow/examples/android#android-studio 官网讲的很简单: Android Studio may be used to build the demo in conjunction with Bazel. First, make sure that you can build with Bazel following the above
1.未设置NDK的路径 Error:Execution failed for task ':library:ndkBuild'. > A problem occurred starting process 'command 'null/ndk-build''配置NDK的的安装路径即可.1)设置环境变量:新增ANDROID_NDK_HOME键值为Android NDK安装目录,在PATH末尾增加;%ANDROID_NDK_HOME%. 或者2)在AS的project structure设置,如下图