pwa-builder / CloudAPK

Build Android APK packages on the cloud
Other
147 stars 44 forks source link

Building APK failing for qrsnapper.com #3

Closed andreban closed 4 years ago

andreban commented 4 years ago

When trying to build for https://qrsnapper.com, web server crashes. It seems the issue is that Android doesn't like the package name being generated for the app:

error: attribute 'package' in tag is not a valid Android package name: 'com.myapp.Snap QR'.

One alternative is to use reverse the domain name for the app and append ".twa" to the end. For qrsnapper, the package-name becomes com.qrsnapper.twa.

More details on Android practices and restrictions for the application-ids are here: https://developer.android.com/studio/build/application-id

JudahGabriel commented 4 years ago

Thanks. The problem was with our package ID generation. @jgw96 fixed this and we've deployed the fix to production.