cancel
Showing results for 
Search instead for 
Did you mean: 

Issues on Alfresco-Mobile-Android APP customization ...

andy2_0
Champ in-the-making
Champ in-the-making
Hello

(1)
When I import the alfresco-mobile-android project, I was prompted that "gen already exists but is not a source folder. Convert to source folder or rename it"
After I converted it to source folder, I got a BuildConfig.java file under gen subfolders. But R.java doesn't appear.

(2)
I studied MainActivity.java, and found a statement "setContentView(R.layout.app_main" in line 171.But I can't find app_main.xml in the folder: layout.


Anybody please help resolve these issues? Thanks in advance!
3 REPLIES 3

jm_pascal
Star Contributor
Star Contributor
Aloah,

For 1) The simplest way is to delete the folder, recreate it manually and transform it as source folder.
For 2) app_main is a reference to a layout and it's defined inside the file res>values>layout.xml We use this trick to support different screen size. One reference but different implementation

Hope it helps.

andy2_0
Champ in-the-making
Champ in-the-making
Thanks for constant helps, it works!

B.T.W. what does Aloah mean? I looked up the dictionary and can't find this word. 🙂

The original sense can be find here.
But because I want to show off and be so unique I always intervert the H at the end (which is a mistake by the way).

Anyway it's just my expression to say "Hello" in an informal way.