打包调试突然报错
* What went wrong:
Execution failed for task ':mergeDebugAssets'.
> java.lang.NullPointerException (no error message)
* Try:
Run with --stacktrace
BUILD FAILED
option to get the stack trace. Run with --info or --debug option to get more log output.
Total time: 2.837 secs
Error: cmd: Command failed with exit code 1 Error output:
FAILURE: Build failed with an exception.
ionic serve
没问题,
google了下,重新添加平台:
ionic cordova platform remove android
ionic cordova platform add android