Cordova error 1

Status
Niet open voor verdere reacties.

ido435

Gebruiker
Lid geworden
10 nov 2010
Berichten
674
Hallo allemaal,

ik ben bezig om een app te maken. deze command gebruik ik.
Code:
d:\app test\Build\build\cordova>cordova build android
deze error krijg ik terug
Code:
cp: no such file or directory: d:\app test\build\build\cordova\res\icons\Icon-ldpi.png

cp: no such file or directory: d:\app test\build\build\cordova\res\icons\Icon-mdpi.png

cp: no such file or directory: d:\app test\build\build\cordova\res\icons\Icon-hdpi.png

cp: no such file or directory: d:\app test\build\build\cordova\res\icons\Icon-xhdpi.png

cp: no such file or directory: d:\app test\build\build\cordova\res\icons\Icon-xxhdpi.png

cp: no such file or directory: d:\app test\build\build\cordova\res\icons\Icon-xxxhdpi.png

cp: no such file or directory: d:\app test\build\build\cordova\res\screens\port-ldpi.png

cp: no such file or directory: d:\app test\build\build\cordova\res\screens\port-mdpi.png
buildcp: no such file or directory: d:\app test\build\build\cordova\res\screens\port-hdpi.png

cp: no such file or directory: d:\app test\build\build\cordova\res\screens\port-xhdpi.png

cp: no such file or directory: d:\app test\build\build\cordova\res\screens\port-xxhdpi.png

cp: no such file or directory: d:\app test\build\build\cordova\res\screens\port-xxxhdpi.png

cp: no such file or directory: d:\app test\build\build\cordova\res\screens\land-ldpi.png

cp: no such file or directory: d:\app test\build\build\cordova\res\screens\land-mdpi.png

cp: no such file or directory: d:\app test\build\build\cordova\res\screens\land-hdpi.png

cp: no such file or directory: d:\app test\build\build\cordova\res\screens\land-xhdpi.png

cp: no such file or directory: d:\app test\build\build\cordova\res\screens\land-xxhdpi.png

cp: no such file or directory: d:\app test\build\build\cordova\res\screens\land-xxxhdpi.png

Discovered plugin "pushwoosh-cordova-plugin" in config.xml. Installing to the project
Fetching plugin "pushwoosh-cordova-plugin@~3.6.14" via npm
Plugin "com.pushwoosh.plugins.pushwoosh" already installed on android.
ls: no such file or directory: d:\app test\build\build\cordova\platforms\android\src\nl\Ido\build\Testversion\*.java

ANDROID_HOME=D:\android
JAVA_HOME=C:\Program Files (x86)\Java\jdk1.8.0_73
null
embedded
org.xwalk:xwalk_core_library:14+
:preBuild UP-TO-DATE
:preArmv7DebugBuild UP-TO-DATE
:checkArmv7DebugManifest
:preX86DebugBuild UP-TO-DATE
:CordovaLib:preBuild UP-TO-DATE
:CordovaLib:preDebugBuild UP-TO-DATE
:CordovaLib:compileDebugNdk UP-TO-DATE
:CordovaLib:compileLint
:CordovaLib:copyDebugLint UP-TO-DATE
:CordovaLib:mergeDebugProguardFiles UP-TO-DATE
:CordovaLib:packageDebugRenderscript UP-TO-DATE
:CordovaLib:checkDebugManifest
:CordovaLib:prepareDebugDependencies
:CordovaLib:compileDebugRenderscript UP-TO-DATE
:CordovaLib:generateDebugResValues UP-TO-DATE
:CordovaLib:generateDebugResources UP-TO-DATE
:CordovaLib:packageDebugResources UP-TO-DATE
:CordovaLib:compileDebugAidl UP-TO-DATE
:CordovaLib:generateDebugBuildConfig UP-TO-DATE
:CordovaLib:generateDebugAssets UP-TO-DATE
:CordovaLib:mergeDebugAssets UP-TO-DATE
:CordovaLib:processDebugManifest UP-TO-DATE
:CordovaLib:processDebugResources UP-TO-DATE
:CordovaLib:generateDebugSources UP-TO-DATE
:CordovaLib:compileDebugJavaWithJavac UP-TO-DATE
:CordovaLib:processDebugJavaRes UP-TO-DATE
:CordovaLib:transformResourcesWithMergeJavaResForDebug UP-TO-DATE
:CordovaLib:transformClassesAndResourcesWithSyncLibJarsForDebug UP-TO-DATE
:CordovaLib:mergeDebugJniLibFolders UP-TO-DATE
:CordovaLib:transformNative_libsWithMergeJniLibsForDebug UP-TO-DATE
:CordovaLib:transformNative_libsWithSyncJniLibsForDebug UP-TO-DATE
:CordovaLib:bundleDebug UP-TO-DATE
:prepareAndroidCordovaLibUnspecifiedDebugLibrary UP-TO-DATE
:preArmv7ReleaseBuild UP-TO-DATE
:preX86ReleaseBuild UP-TO-DATE
:CordovaLib:preReleaseBuild UP-TO-DATE
:CordovaLib:compileReleaseNdk UP-TO-DATE
:CordovaLib:copyReleaseLint UP-TO-DATE
:CordovaLib:mergeReleaseProguardFiles UP-TO-DATE
:CordovaLib:packageReleaseRenderscript UP-TO-DATE
:CordovaLib:checkReleaseManifest
:CordovaLib:prepareReleaseDependencies
:CordovaLib:compileReleaseRenderscript UP-TO-DATE
:CordovaLib:generateReleaseResValues UP-TO-DATE
:CordovaLib:generateReleaseResources UP-TO-DATE
:CordovaLib:packageReleaseResources UP-TO-DATE
:CordovaLib:compileReleaseAidl UP-TO-DATE
:CordovaLib:generateReleaseBuildConfig UP-TO-DATE
:CordovaLib:generateReleaseAssets UP-TO-DATE
:CordovaLib:mergeReleaseAssets UP-TO-DATE
:CordovaLib:processReleaseManifest UP-TO-DATE
:CordovaLib:processReleaseResources UP-TO-DATE
:CordovaLib:generateReleaseSources UP-TO-DATE
:CordovaLib:compileReleaseJavaWithJavac UP-TO-DATE
:CordovaLib:processReleaseJavaRes UP-TO-DATE
:CordovaLib:transformResourcesWithMergeJavaResForRelease UP-TO-DATE
:CordovaLib:transformClassesAndResourcesWithSyncLibJarsForRelease UP-TO-DATE
:CordovaLib:mergeReleaseJniLibFolders UP-TO-DATE
:CordovaLib:transformNative_libsWithMergeJniLibsForRelease UP-TO-DATE
:CordovaLib:transformNative_libsWithSyncJniLibsForRelease UP-TO-DATE
:CordovaLib:bundleRelease UP-TO-DATE
:prepareComAndroidSupportSupportV42311Library UP-TO-DATE
:prepareComGoogleAndroidGmsPlayServicesAds840Library UP-TO-DATE
:prepareComGoogleAndroidGmsPlayServicesBase840Library UP-TO-DATE
:prepareComGoogleAndroidGmsPlayServicesBasement840Library UP-TO-DATE
:prepareComGoogleAndroidGmsPlayServicesGcm840Library UP-TO-DATE
:prepareComGoogleAndroidGmsPlayServicesMeasurement840Library UP-TO-DATE
:prepareOrgXwalkXwalk_core_library144334325Library UP-TO-DATE
:prepareArmv7DebugDependencies
:compileArmv7DebugAidl UP-TO-DATE
:compileArmv7DebugRenderscript
:generateArmv7DebugBuildConfig
:generateArmv7DebugAssets UP-TO-DATE
:mergeArmv7DebugAssets UP-TO-DATE
:createXwalkCommandLineFileArmv7Debug
:generateArmv7DebugResValues UP-TO-DATE
:generateArmv7DebugResources
:mergeArmv7DebugResources
:processArmv7DebugManifest
:processArmv7DebugResourcesD:\app test\build uitdagingen\build\cordova\platforms\android\build\intermediates\manifests\full\armv7\debug\AndroidManifest.xml:43:23-37 : AAPT: No resource found that matches the given name (at 'icon' with value '@drawable/icon').

 FAILED

BUILD FAILED

Total time: 9.965 secs

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':processArmv7DebugResources'.
> com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'D:\android\build-tools\23.0.2\aapt.exe'' finished with non-zero exit value 1

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
ERROR building one of the platforms: Error code 1 for command: cmd with args: /s,/c,""d:\app test\build\build\cordova\platforms\android\gradlew" cdvBuildDebug -b "d:\app test\build\build\cordova\platforms\android\build.gradle" -Dorg.gradle.daemon=true -Pandroid.useDeprecatedNdk=true"
You may not have the required environment or OS to build this project
Error: Error code 1 for command: cmd with args: /s,/c,""d:\app test\build\build\cordova\platforms\android\gradlew" cdvBuildDebug -b "d:\app test\build\build\cordova\platforms\android\build.gradle" -Dorg.gradle.daemon=true -Pandroid.useDeprecatedNdk=true"

Het probleem van de PNG bestanden mogen geen probleem zijn omdat ze niet specifiek nodig zijn om de app te kunnen gebruiken. Tevens kan ik hem wel gebruiken via de webbrowser.

mvg
Ido
 
Zo te zien struikelt hij over de spatie in "app test"
 
Bedankt RogerS

Ik heb de naam veranderd maar toen kreeg ik een error over een plugin nog (plugin verwijderd)
En nu kan ik hem wel builden.

Thanks :thumb:
 
Status
Niet open voor verdere reacties.
Steun Ons

Nieuwste berichten

Terug
Bovenaan Onderaan