楼主脚本不是直接运行吧
—— 来自 TesterHome 官方 安卓客户端
华为荣耀 6,点搜索没有反应
#4 楼 @seveniruby 谢谢了
已解决了,WIndows 7 64 位 无法找到 system32 path,修改掉注册表路径就行了
#2 楼 @seveniruby
恩,下次注意,Path 已配了:
另外 查到一个,但是把说的贴到 find_java.bat 文件了,运行后也不行
https://code.google.com/p/android/issues/detail?id=28196
OS: Windows 7 x86 64bit
JDK installed: http://download.oracle.com/otn-pub/java/jdk/7u3-b05/jdk-7u3-windows-x64.exe
Option #1
Execute Android SDK installer
http://dl.google.com/android/installer_r17-windows.exe
Actual result - it can not find JAVA on the system.
Environment variable JAVA_HOME, PATH and recommendation from different forums about registry key didn't help (like here http://codearetoy.wordpress.com/2010/12/23/jdk-not-found-on-installing-android-sdk/)
Option #2
Execute tools/android.bat from
http://dl.google.com/android/android-sdk_r17-windows.zip
Actual result:
Failed to start with the error in console: "Failed to convert path to a short DOS path: C:\Windows\system32\java.exe"
How I fixed this:
In the file android-sdk-windows\tools\lib\find_java.bat
-for /f %%a in ('%~dps0\find_java.exe -s') do set java_exe=%%a
+for /f %%a in ('%~dps0\find_java.exe') do set java_exe=%%a
查看了两天了,求指教
您好,我也出现这个问题,只不过不是 python ,是 Java,你知道原因吗?
楼主,等待已久,希望得到佳作一阅,非常感谢🙏,QQ 626878283
多谢分享