Hi,
After installed new update and ran my project with the expectation of getting ..../Build/output folder. But no output folder created.
Though I got error message on the cmd when building the files.
What could cause the issue?
Hi,
After installed new update and ran my project with the expectation of getting ..../Build/output folder. But no output folder created.
Though I got error message on the cmd when building the files.
What could cause the issue?
Hello edunt,
The latest releases touch a bit the Javascript core with enhancements to the Gauge control. This means you must delete the "_Compiled" directory by yourself. However, this is not apparently your problem, so, please, post here the error message you get to try to help you.
Hi,
This is it.
Adding android project...
Running command: cmd "/s /c "C:\Users\Mypc\.cordova\lib\npm_cache\cordova-android\4.1.1\package\bin\create.bat "C:\Users\Mypc\Desktop\New folder\Learn Suomea_Compiled\platforms\android" com.afritelly.learnsuomea "Learn Suomea" --cli""
Creating Cordova project for the Android platform:
Path: platforms\android
Package: com.afritelly.learnsuomea
Name: Learn Suomea
Activity: MainActivity
Android target: android-22
Copying template files...
Android project created with cordova-android@4.1.1
Fetching plugin "cordova-plugin-whitelist" via npm
Installing "cordova-plugin-whitelist" for android
This plugin is only applicable for versions of cordova-android greater than 4.0. If you have a previous platform version, you do *not* need this plugin since the whitelist will be built in.
Fetching plugin "cordova-plugin-network-information" via npm
Installing "cordova-plugin-network-information" for android
Fetching plugin "cordova-plugin-admobpro" via npm
Installing "cordova-plugin-admobpro" for android
Fetching plugin "cordova-plugin-extension" via npm
Installing "cordova-plugin-extension" for android
Running command: cmd "/s /c ""C:\Users\Mypc\Desktop\New folder\Learn Suomea_Compiled\platforms\android\cordova\build.bat" --release""
ANDROID_HOME=C:\adt-bundle-windows-x86_64-20140702\sdk
JAVA_HOME=C:\Program Files\Java\jdk1.8.0_65
Running: C:\Users\Mypc\Desktop\New folder\Learn Suomea_Compiled\platforms\android\gradlew cdvBuildRelease -b C:\Users\Mypc\Desktop\New folder\Learn Suomea_Compiled\platforms\android\build.gradle -Dorg.gradle.daemon=true
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'android'.
> Could not resolve all dependencies for configuration ':_debugCompile'.
> Could not find any version that matches com.google.android.gms:play-services-ads:+.
Searched in the following locations:
https://repo1.maven.org/maven2/com/google/android/gms/play-services-ads/maven-metadata.xml
https://repo1.maven.org/maven2/com/google/android/gms/play-services-ads/
Required by:
:android:unspecified
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 6.87 secs
C:\Users\Mypc\Desktop\New folder\Learn Suomea_Compiled\platforms\android\cordova\node_modules\q\q.js:126
throw e;
^
Error code 1 for command: cmd with args: /s /c ""C:\Users\Mypc\Desktop\New folder\Learn Suomea_Compiled\platforms\android\gradlew" cdvBuildRelease -b "C:\Users\Mypc\Desktop\New folder\Learn Suomea_Compiled\platforms\android\build.gradle" -Dorg.gra
dle.daemon=true"
ERROR building one of the platforms: Error: cmd: Command failed with exit code 1
You may not have the required environment or OS to build this project
Error: cmd: Command failed with exit code 1
Press any key to continue . . .
Thanks.
Hello,
Take a look at the Android SDK manager and look the below "Extras" are installed:
Hi David,
Thanks it is working now.
Why do I need to installed those extras?
Hello edunt,
We need such extras if we want to deal with the AdMob plugin, for example.
Ah, ok. Now I know.
Thanks
Todo el mundo puede leer el foro de soporte de DecSoft para aprender del mismo, sin embargo, sólo los clientes de DecSoft pueden abrir nuevos hilos. Compre una o más licencias de productos de DecSoft y obtendrá este y otros beneficios.
Este sitio utiliza "cookies" útiles para almacenar sus preferencias.