开发者

showing errors while executing the project from git

开发者 https://www.devze.com 2023-03-16 08:34 出处:网络
hi i downloaded source code from git.when i execute this code its showing errors at following lines of code.

hi i downloaded source code from git.when i execute this code its showing errors at following lines of code.

    import android.provider.Telephony.Mms;
   import android.database.sqlite.SqliteWrapper;

its sh开发者_如何学Goowing that

"android.provider.Telephony.Mms" and "android.database.sqlite.SqliteWrapper"

can't be resolved...pls tell me the reason..thanks in advance


Are you running this on a tablet or non-phone device?

I'm not sure why the Sqlite import would be wrong, but a tablet with non-stock android might be lacking the entire telephony package.


I'm fairly sure you need the entire AOSP source to build that app.

Those imports are not part of the public API as far as I know.


It happens because these imports are unavailable in SDK version under which you're trying to compile project. Just select Android SDK 2.2 or SDK 2.3 and everything will be ok...

0

精彩评论

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

关注公众号