#Namespace app-name' is not a valid ... (SOLVED)

1 messages · Page 1 of 1 (latest)

wicked cipher
#

I originally had everything working great for android and then I started getting everything set up for ios. Now I am getting this java error when trying to build android.

I believe I ran php artisan native:install --force when I was getting ios setup for whatever reason. Not sure if this messed up the namespacing for Java?

Any thoughts?

@vast reef @rare surge

vast reef
#

What’s the actual error?

wicked cipher
vast reef
#

It tells you right there - change the env
Namespace 'com.oncalli.oncalli-mobile' is not a valid Java package name as 'oncalli-mobile' is not a valid Java identifier.

try com.oncalli.mobile or something do a native:install --force native:run

wicked cipher
#

Ya I tried that but no such luck. It worked before I started trying to get IOS working so not sure what I did. I ended up just creating a new project. Got both Android and IOS on the phones now. Awesome stuff... thanks for the response Shane!