我搜索了它,我发现它的目标sdk错误应该至少为13但是在这里我使用的是SDK 23.
这是我的清单文件:
<?xml version="1.0" enCoding="utf-8"?><manifest xmlns:androID="http://schemas.androID.com/apk/res/androID" package="com.celebria"> <uses-permission androID:name="androID.permission.INTERNET" /> <uses-permission androID:name="androID.permission.ACCESS_NETWORK_STATE" /> <uses-permission androID:name="androID.permission.WRITE_EXTERNAL_STORAGE" /> <uses-permission androID:name="androID.permission.WAKE_LOCK" /> <application androID:allowBackup="true" androID:icon="@mipmap/ic_launcher" androID:label="@string/app_name" androID:supportsRtl="true" androID:name="com.celebria.MyApplication"> <activity androID:name=".ActivitySplash" androID:theme="@style/AppthemeLogin" androID:windowsoftinputMode="adjustPan"> <intent-filter> <action androID:name="androID.intent.action.MAIN" /> <category androID:name="androID.intent.category.LAUNCHER" /> </intent-filter> </activity> <activity androID:name=".Tutorial" androID:theme="@style/AppthemeLogin" androID:windowsoftinputMode="adjustPan" /> <activity androID:name=".activitylogin" androID:theme="@style/AppthemeLogin" androID:windowsoftinputMode="adjustPan" /> <receiver androID:name=".AlarmReceiver" androID:enabled="true" androID:process=":remote" androID:exported="true"/> <receiver androID:name=".BootReceiver" androID:enabled="true" androID:exported="true"> <intent-filter> <action androID:name="androID.intent.action.BOOT_COMPLETED" /> <action androID:name="androID.intent.action.QUICKBOOT_POWERON"/> </intent-filter> </receiver> <service androID:name=".DownloadService" androID:enabled="true" androID:stopWithTask="false" androID:exported="true"/> <activity androID:name=".Home" androID:theme="@style/AppthemeLogin" androID:windowsoftinputMode="adjustPan" /> <activity androID:name=".ActivityCreateAccount" androID:theme="@style/AppthemeLogin" androID:windowsoftinputMode="adjustPan" /> <activity androID:name=".ActivityActiveTrivia" androID:theme="@style/AppthemeLogin" androID:windowsoftinputMode="adjustPan" /> <activity androID:name=".ActivityMatchUp" androID:theme="@style/AppthemeLogin" androID:windowsoftinputMode="adjustPan" /> <activity androID:name=".ActivityQuestionAnswer" androID:theme="@style/AppthemeLogin" androID:windowsoftinputMode="adjustPan" /> <activity androID:name=".ActivityWinner" androID:theme="@style/AppthemeLogin" androID:windowsoftinputMode="adjustPan" /> <activity androID:name=".CreateAccount" androID:theme="@style/AppthemeLogin"/> <activity androID:name=".ActivityForgotPassword" androID:theme="@style/AppthemeLogin" androID:windowsoftinputMode="adjustPan" /> <!-- Google Play Services --> <Meta-data androID:name="com.Google.androID.gms.version" androID:value="@integer/Google_play_services_version"/> <!-- Fyber Marketplace --> <activity androID:name="com.heyzap.sdk.ads.heyzAPIncentivizedActivity" androID:configChanges="orIEntation|screenSize" androID:theme="@androID:style/theme.Translucent" androID:harDWareAccelerated="true" /> <activity androID:name="com.heyzap.sdk.ads.heyzAPInterstitialActivity" androID:configChanges="orIEntation|screenSize" androID:theme="@androID:style/theme.Translucent" /> <activity androID:name="com.heyzap.sdk.ads.MediationTestActivity" /> <activity androID:name="com.fyber.ads.ofw.OfferWallUnityActivity" androID:configChanges="orIEntation" /> <service androID:name="com.fyber.cache.CacheVIDeodownloadService" androID:exported="false" /> <Meta-data androID:name="FYBVIDeoPlayerOptionClosebuttonDelay" androID:value="-1" /> </application></manifest>
这是我的build.gradle文件:
apply plugin: 'com.androID.application'androID { compileSdkVersion 23 buildToolsversion "23.0.3" defaultConfig { applicationID "com.celebria" minSdkVersion 16 targetSdkVersion 23 versionCode 1 versionname "1.0" } buildTypes { release { MinifyEnabled false proguardfiles getDefaultProguardfile('proguard-androID.txt'),'proguard-rules.pro' } }}repositorIEs { mavenCentral() maven { name "Fyber's maven repo" url "https://fyber.bintray.com/maven" } flatDir { dirs "libs" }}dependencIEs { compile filetree(include: ['*.jar'],dir: 'libs') testCompile 'junit:junit:4.12' compile'com.Google.androID.gms:play-services-location:10.0.1' compile'com.Google.androID.gms:play-services-ads:10.0.1' compile 'com.androID.support:appcompat-v7:23.4.0' compile 'com.wang.avi:library:2.1.3' compile 'com.squareup.picasso:picasso:2.5.0' compile 'de.hdodenhof:circleimagevIEw:2.1.0' compile 'jp.wasabeef:blurry:2.1.0' compile 'com.squareup.picasso:picasso:2.5.2' compile 'uk.co.chrisjenx:calligraphy:2.2.0' compile 'me.relex:circleindicator:1.2.2@aar' compile(name:'heyzap-unifIEd-platform-10.3.0',ext:'aar')}
这是错误的图片:
这是我一直关注的链接:https://developers.heyzap.com/docs/android_sdk_setup_and_requirements
解决方法androID:configChanges="keyboard|keyboardHIDden|orIEntation|screenLayout|uiMode|screenSize|smallestScreenSize"
screenSize& SDK 10中没有smallestScreenSize属性.它们可从API级别13获得.
更多细节:
http://developer.android.com/guide/topics/manifest/activity-element.html#config
以上是内存溢出为你收集整理的错误:screenSize | smallestScreenSize android studio Target SDK 23全部内容,希望文章能够帮你解决错误:screenSize | smallestScreenSize android studio Target SDK 23所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)