android - Cordova build failed -


i have installed cordova when run $ cordova build in terminal, shows following error. please me out.

build failed

total time: 8.645 secs error: /home/borsha/hello/platforms/android/gradlew: command failed exit code 1 error output: /home/borsha/hello/android-sdk-linux/build-tools/26.0.1/aapt: 1: /home/borsha/hello/android-sdk-linux/build-tools/26.0.1/aapt: syntax error: ")" unexpected

failure: build failed exception.

  • what went wrong: execution failed task ':cordovalib:processdebugresources'. com.android.ide.common.process.processexception: failed execute aapt

  • try: run --stacktrace option stack trace. run --info or --debug option more log output.

update

build failed

total time: 2.799 secs error: /home/borsha/hello/platforms/android/gradlew: command failed exit code 1 error output: /home/borsha/hello/android-sdk-linux/build-tools/25.0.0/aapt: 3: /home/borsha/hello/android-sdk-linux/build-tools/25.0.0/aapt: syntax error: unterminated quoted string

failure: build failed exception.

  • what went wrong: execution failed task ':cordovalib:processdebugresources'. com.android.ide.common.process.processexception: failed execute aapt

  • try: run --stacktrace option stack trace. run --info or --debug option more log output.

try downgrading api level 23.0.3. can using android sdk manager , android studio or can follow instructions here.

versions newer 23.0.3 still have bugs.


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -