我在ubuntu 16上尝试运行离子2 app。
我的JAVA_HOME看起来像这样:
echo $JAVA_HOME
/usr/lib/jvm/java-8-oracle
echo $ANDROID_HOME
/home/simran/Android/Sdk
$PATH
:
echo $ PATH
/home/simran/bin:/home/simran/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/lib/jvm/java-8-oracle/bin:/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/bin:/tools:/platform-tools:/home/simran/Android/Sdk/tools:/home/simran/Android/Sdk/platform-tools:/home/simran/Android/Sdk/tools:/home/simran/Android/Sdk/platform-tools:/home/simran/Android/Sdk/tools
如果我运行离子运行android:
ANDROID_HOME=/home/simran/Android/Sdk
JAVA_HOME=/usr/lib/jvm/java-8-oracle
Error: Could not find gradle wrapper within Android SDK. Might need to update your Android SDK.
Looked here: /home/simran/Android/Sdk/tools/templates/gradle/wrapper
我该如何解决这个问题?
答案 0 :(得分:0)
如果你在32位ubuntu上运行,你应该安装platform-tools@23.0.1和build-tools@23.0.1