2
I managed to solve simply updated the SDK and it started working again, thanks for the help guys.
2
1
I managed to solve simply updated the SDK and it started working again, thanks for the help guys.
@jbueno but I don’t think anyone had answered that, no?
0
If you are trying to run on the android platform, you should have the following environment variables configured on the computer: ANDROID_SDK ANDROID_NDK ANDROID_HOME ANDROID_PLATFORM_TOOOLS and also put in PATH
If the variables are configured and still in error, you can execute the following commands: Cordova Platform remove android Cordova Platform add android
I have created PATH and ANDROID_HOME, what would be the content of the others? @henriquels
ANDROID_SDK="/opt/software/android-sdk"
ANDROID_NDK="/opt/software/android-ndk"
ANDROID_HOME="$ANDROID_SDK"
ANDROID_PLATFORM_TOOLS="$ANDROID_SDK/platform-tools"
PATH="${PATH}:$ANDROID_HOME/tools:$ANDROID_PLATFORM_TOOLS"
0
Well, I don’t use Phonegap/Ordova this way, I always try it on my emulator of his own
But come on, you can try to delete her .gradle
of
C: Users directory
and try again.
Or:
Under Eclipse, go to Windows -> Preferences -> Gradle-> arguments. Find JVM Arguments choose "USE:" option and write these -Xms128m -Xmx512m arguments and click Apply.
And lastly, this is just a hint, it has nothing to do with the error, update your Java.
I already deleted the file .gradle
and it didn’t work, I don’t use eclipse for development, I develop using Sublime, I’m downloading the new version of Java.
Browser other questions tagged javascript android apache-cordova phonegap-buillder
You are not signed in. Login or sign up in order to post.
use these two commands:
cordova platform remove android
andcordova platform add android
recompile with:cordova build android
and see what happens.– Rafael Ferreira