Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49164

Having issues with even building the "todo" blank app. Asset does not exist

$
0
0

@gangyi89 wrote:

Hi All,

have been spending months trying to debug this error. Advise would be much appreciated.

:CordovaLib:processDebugManifest UP-TO-DATE
:CordovaLib:processDebugManifest (Thread[main,5,main]) completed. Took 0.031 secs.
:CordovaLib:processDebugResources (Thread[main,5,main]) started.
:CordovaLib:processDebugResources
Executing task ':CordovaLib:processDebugResources' (up-to-date check took 0.015 secs) due to:
No history is available.
All input files are considered out-of-date for incremental task ':CordovaLib:processDebugResources'.
Starting process 'command 'C:\Users\lenovo\AppData\Local\Android\sdk\build-tools\24.0.1\aapt.exe''. Working directory: C:\Windows\System32\todo\platforms\android\CordovaLib Command: C:\Users\lenovo\AppData\Local\Android\sdk\build-tools\24.0.1\aapt.exe package -f --no-crunch -I C:\Users\lenovo\AppData\Local\Android\sdk\platforms\android-23\android.jar -M C:\Windows\System32\todo\platforms\android\CordovaLib\build\intermediates\bundles\debug\aapt\AndroidManifest.xml -S C:\Windows\System32\todo\platforms\android\CordovaLib\build\intermediates\bundles\debug\res -A C:\Windows\System32\todo\platforms\android\CordovaLib\build\intermediates\bundles\debug\assets -m -J C:\Windows\System32\todo\platforms\android\CordovaLib\build\generated\source\r\debug --debug-mode --custom-package org.apache.cordova --non-constant-id -0 apk --output-text-symbols C:\Windows\System32\todo\platforms\android\CordovaLib\build\intermediates\bundles\debug
Successfully started process 'command 'C:\Users\lenovo\AppData\Local\Android\sdk\build-tools\24.0.1\aapt.exe''
Unknown source file : ERROR: asset directory 'C:\Windows\System32\todo\platforms\android\CordovaLib\build\intermediates\bundles\debug\assets' does not exist

:CordovaLib:processDebugResources FAILED
:CordovaLib:processDebugResources (Thread[main,5,main]) completed. Took 0.203 secs.

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':CordovaLib:processDebugResources'.

    com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'C:\Users\lenovo\AppData\Local\Android\sdk\build-tools\24.0.1\aapt.exe'' finished with non-zero exit value 1

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --debug option to get more log output.

BUILD FAILED

Total time: 6.699 secs
Stopped 0 compiler daemon(s).

I have tried numerous solutions including checking my Android path, tools and platform-tools path

ANDROID_HOME: C:\Users\lenovo\AppData\Local\Android\sdk
PATH: %ANDROID_HOME%\tools
PATH: %ANDROID_HOME%\platform-tools

Appreciate any advice on this :slight_smile:

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 49164

Trending Articles