How do I open the Android Mail project in Android Studio?

308 views Asked by At

I have cloned the AOSP email client and have attempted to open it in Android Studio. However, I must be doing something wrong, because I cannot build the project and all that shows up in the project tree is the following: project tree

1

There are 1 answers

2
Abhishek Dabholkar On BEST ANSWER

These packages rely heavily on system packages. Hence it is difficult to get it into Android Studio. However if you are looking into an open source email client, I would recommend you look into K9 Mail. It's an open-source mail client. EDIT:

You could try using this method to variable success rates: From the AOSP root run command in a terminal:

make idegen && development/tools/idegen/idegen.sh

Then open Android Studio > Open project > Select android.ipr generated.

You will run into many dependency issues though. Note: It might be worth giving eclipse a try. Read this.