Fakebear Fakebear - 3 years ago 62
Android Question

How to compile the com.android.sdk package?

I am working on windows with JDK, Android SDK and eclipse set successfully. I download the com.android.sdk package from:

https://android.googlesource.com/platform/packages/apps/Stk

But when I import the project to the eclipse, errors happen everywhere. Mostly is about the com.android.internal.telephony.gsm.stk.something cannot be imported. I googled to find the reason. It only says because of the these packages is internal package and cannot import with standard SDK. So the question is:

How can I compile this project?

Should I make a linux environment and get the whole android source code to do this?

Answer Source

Relaying on internal packages is not a good idea. They can be changed anytime by platform developers and your app can stop working. Also they do not guarantee same behavior on different Android platform versions.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download