Solar2DTux icon indicating copy to clipboard operation
Solar2DTux copied to clipboard

Android: builds fail if the package name contains space

Open carlHR opened this issue 5 years ago • 2 comments

Hello there,

A month ago I reported about the android builds were no long working. Now at this new update, this error is fixed. Nice one! But there's still a problem. When I tried to build my testing app, well.. it failed at first.

The app's name is Testing Android App. So.. yes, it contain spaces.

When I hit the build/android button, the Solar2D set the package name field automatically with com.solar2d.carlos.Testing Android App. So, that's a problem. The Android Studio specifies that all characters must be inside this regex pattern: [a-zA-Z0-9_].

So, no spaces are allowed.

When I changed the package name field to com.solar2d.carlos.TestingAndroidApp, the app was built successfully.

Thanks, Carlos HR.

carlHR avatar Nov 29 '20 01:11 carlHR

Thanks @carlHR - I'll get this fixed.

DanS2D avatar Nov 29 '20 01:11 DanS2D

will be fixed in the next commit.

DanS2D avatar Dec 20 '20 03:12 DanS2D