Martin Reinhardt

Results 101 comments of Martin Reinhardt

i'm using this to generate a release build for PlayStore: ``` npm run build-android-bundle -- --release --key-store-path $KEYSTORE_PATH --key-store-password $KEYSTORE_PASS --key-store-alias alias --key-store-alias-password $KEYSTORE_PASS", ```

Here's my package.json: ```json "prerelease": "npm run buildnumbering && npm run changelog && git add CHANGELOG.md && git add package.json && git add app/App_Resources/Android/AndroidManifest.xml && git commit -m 'Release version'...

here it comes: ``` W/System.err( 858): java.lang.NullPointerException: Attempt to invoke virtual method 'android.database.sqlite.SQLiteDatabase android.content.Context.openOrCreateDatabase(java.lang.String, int, android.database.sqlite.SQLiteDatabase$CursorFactory)' on a null object reference W/System.err( 858): at com.android.server.enterprise.application.ApplicationUsageDb.getAppControlDB(ApplicationUsageDb.java:350) W/System.err( 858): at com.android.server.enterprise.application.ApplicationUsageDb.updateBackGroundUsageDetails(ApplicationUsageDb.java:134) W/System.err(...

that's strange, because not using sqlite at all. We're using couchbase. This issue occurs on Samsung and Nexus device, but on HTC device it's working. Very strange.

maybe this helps more: ``` 03-21 15:41:53.255 16436 16436 W InstanceID/Rpc: Found 10020 03-21 15:41:53.259 16436 16436 D FirebaseApp: com.google.firebase.crash.FirebaseCrash is not linked. Skipping initialization. 03-21 15:41:53.264 16436 16436 I...

strange, it's working if I run the build twice. So these are the steps I'm doing seems to succeed: 1. `rm -rf node_modules hooks platforms target` 2. `tns install` 3....

I will try to setup a sample project to reproduce this issue

I was able to reproduce the error, see [here](https://github.com/holisticon/nativescript-ngx-demo/tree/feature/build): ``` 1-29 05:50:39.253 24341 24341 F libc : /usr/local/google/buildbot/src/android/ndk-r15-release/external/libcxx/../../external/libcxxabi/src/abort_message.cpp:74: void abort_message(const char *, ...): assertion "terminating with uncaught exception of type...

@Pip3r4o Did you have an idea whats wrong?

great, would also help me with the fabric plugin as this is crashing with this error, too. I think it may be related to the fabric plugin