showing errors while executing the project from git
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...
精彩评论