In a normal Android Studio or Java project, underscores are valid (right?). However, when I attempt to set it up in the libGDX project setup, I am not allowed to use underscores. Is there any workaround to this? (Or is it just a normal package naming convention?)
Asked
Active
Viewed 761 times
1 Answers
0
Underscore in package name is valid for LibGDX project setup jar.
You're getting invalid package name
due to you've Capital letter in your package name.
gdx-setup.jar
using this regex, for package validation.

Abhishek Aryan
- 19,936
- 8
- 46
- 65
-
Oh, sorry you are correct. Also, would you recommend using underscores in package names or is it simply just better practice/convention to omit them? – Shikhar Mainalee Feb 21 '19 at 21:24
-
It's better to go with flow(my recommendation). Check [this](https://stackoverflow.com/questions/3179216/what-is-the-convention-for-word-separator-in-java-package-names) thread for more details – Abhishek Aryan Feb 21 '19 at 21:48