开发者

How to compile the com.android.sdk package?

开发者 https://www.devze.com 2023-01-12 14:20 出处:网络
I am working on windows with JDK, Android SDK and eclipse set successfully. I download the com.android.sdk package from:

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

https://android.googlesourc开发者_C百科e.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?


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消