- android - 多次调用 OnPrimaryClipChangedListener
- android - 无法更新 RecyclerView 中的 TextView 字段
- android.database.CursorIndexOutOfBoundsException : Index 0 requested, 光标大小为 0
- android - 使用 AppCompat 时,我们是否需要明确指定其 UI 组件(Spinner、EditText)颜色
我在 playstore 上有一个现有的应用程序,它在 min sdk 15 上运行。我做了一些更改并尝试更新我的应用程序,当我上传我的 apk 时一切正常,但在发布评论部分之前,playstore 给了我一个警告如下
Device support removed Warning
Deactivation of this APK will result in your app being available for new installs on fewer types of devices.
TipIf this is an unintended change, then retain this APK in the new release or ensure that your new APKs support all currently supported devices.
看到这个警告后,我搜索了不同的论坛以了解导致问题的原因
我的大部分搜索表明,如果我在 list 中指定了一些东西,比如 android:required="false" screen support tags 等
但问题是我没有添加任何新的库或硬件功能,只添加了一些新类,我不知道是什么导致了这个问题。我将展示我的 list 和 gradle 如何查找 Playstore 中的现有应用程序和我的新更新
我现有的 App gradle 和 manifest
渐变
buildscript {
repositories {
maven { url "http://dl.bintray.com/populov/maven" }
mavenCentral()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.2.3'
classpath 'com.google.gms:google-services:3.0.0'
classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
maven { url "http://dl.bintray.com/populov/maven" }
mavenCentral()
jcenter()
}
}
//app gradle
apply plugin: 'com.android.application'
apply plugin: 'com.neenbedankt.android-apt'
android {
compileSdkVersion 25
buildToolsVersion "25.0.2"
defaultConfig {
applicationId "com.my.app"
minSdkVersion 15
targetSdkVersion 25
versionCode 10
versionName "2.0.0.3"
}
lintOptions {
checkReleaseBuilds false
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile project(":volley")
compile group: 'com.google.code.gson', name: 'gson', version: '2.3.1'
compile 'com.android.support:appcompat-v7:25.3.1'
compile 'com.android.support:design:25.3.1'
compile 'com.viewpagerindicator:library:2.4.1@aar'
compile 'com.android.support:cardview-v7:25.3.1'
compile 'com.android.support:recyclerview-v7:25.3.1'
compile 'de.hdodenhof:circleimageview:2.0.0'
compile 'com.facebook.android:facebook-android-sdk:4.7.0'
compile 'com.google.android.gms:play-services-gcm:10.2.1'
compile 'com.android.support:support-v4:25.3.1'
compile 'uk.co.chrisjenx:calligraphy:2.2.0'
compile 'com.github.bumptech.glide:glide:3.7.0'
compile 'com.jakewharton:butterknife:8.4.0'
compile files('libs/YouTubeAndroidPlayerApi.jar')
apt 'com.jakewharton:butterknife-compiler:8.4.0'
}
apply plugin: 'com.google.gms.google-services'
list .xml
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="com.my.app">
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<!-- <uses-permission android:name="android.permission.GET_ACCOUNTS" />-->
<!-- <uses-permission android:name="android.permission.USE_CREDENTIALS" />-->
<uses-permission android:name="android.permission.READ_PHONE_STATE"/>
<!-- GCM Permissions -->
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" />
<permission
android:name="com.my.app.permission.C2D_MESSAGE"
android:protectionLevel="signature" />
<uses-permission android:name="com.my.app.permission.C2D_MESSAGE" />
<application
android:name=".app.AppController"
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:supportsRtl="true"
android:theme="@style/AppTheme">
<!-- LAUNCHER ACTIVITY -->
<activity
android:name=".LaunchActivity"
android:theme="@style/SplashTheme"
android:screenOrientation="portrait">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name=".SliderActivity"
android:screenOrientation="portrait">
</activity>
<activity
android:name=".LoginActivity"
android:label="Sign In"
android:screenOrientation="portrait"
android:theme="@style/Login_Accent_Theme"
></activity>
<activity
android:name=".ForgotPasswordActivity"
android:label="Change Password?"
android:parentActivityName=".LoginActivity"
android:screenOrientation="portrait"
android:theme="@style/App_Accent_Theme"
android:windowSoftInputMode="stateHidden"></activity>
<activity
android:name=".VideoActivity"
android:configChanges="orientation|keyboardHidden|screenSize"
android:hardwareAccelerated="true"
android:theme="@style/App_Accent_Theme" />
<activity
android:name=".SignUpActivity"
android:label="Sign Up"
android:screenOrientation="portrait"
android:theme="@style/Login_Accent_Theme"></activity>
<activity
android:name=".HomeActivity"
android:launchMode="singleTop"
android:configChanges="orientation"
android:screenOrientation="portrait"></activity>
<activity android:name=".YoutubePlayerActivity"
android:screenOrientation="landscape"
android:configChanges="keyboardHidden|orientation|screenSize"></activity>
<activity
android:name=".VideoLessonActivity"
android:parentActivityName=".HomeActivity"
android:screenOrientation="portrait">
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value=".HomeActivity" />
</activity>
<activity
android:name=".NotificationActivity"
android:screenOrientation="portrait"
>
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value=".HomeActivity" />
</activity>
<activity
android:name=".MTestActivity"
android:parentActivityName=".HomeActivity"
android:screenOrientation="portrait">
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value=".HomeActivity" />
</activity>
<activity
android:name=".MSummaryActivity"
android:screenOrientation="portrait">
</activity>
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value=".HomeActivity" />
</activity>
<activity
android:name=".PdfActivity"
android:launchMode="singleTop"
android:parentActivityName=".HomeActivity"
android:screenOrientation="portrait"
>
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value=".HomeActivity" />
</activity>
<activity
android:name=".WebActivity"
android:hardwareAccelerated="true"
android:screenOrientation="portrait"></activity>
<activity
android:name=".FeedWebview"
android:hardwareAccelerated="true"
android:label="News Feed"
android:screenOrientation="portrait"></activity>
<meta-data
android:name="com.google.android.gms.version"
android:value="@integer/google_play_services_version" />
<meta-data
android:name="com.facebook.sdk.ApplicationId"
android:value="@string/facebook_app_id" />
<activity
android:name="com.facebook.FacebookActivity"
android:configChanges="keyboard|keyboardHidden|screenLayout|screenSize|orientation"
android:label="@string/app_name"
android:theme="@android:style/Theme.Translucent.NoTitleBar" />
<!-- GCM CLASSES -->
<receiver
android:name="com.google.android.gms.gcm.GcmReceiver"
android:exported="true"
android:permission="com.google.android.c2dm.permission.SEND">
<intent-filter>
<action android:name="com.google.android.c2dm.intent.RECEIVE" />
<action android:name="com.google.android.c2dm.intent.REGISTRATION" />
<category android:name="com.my.app" />
</intent-filter>
</receiver>
<service android:name=".gcm.RegistrationIntentService"
android:exported="false"/>
<service
android:name=".gcm.MyGcmListenerService"
android:exported="false">
<intent-filter>
<action android:name="com.google.android.c2dm.intent.RECEIVE" />
</intent-filter>
</service>
<service
android:name=".gcm.MyInstanceIDListenerService"
android:exported="false">
<intent-filter>
<action android:name="com.google.android.gms.iid.InstanceID" />
</intent-filter>
</service>
</application>
以上是我目前在playstore上的应用详情
以下是来自 playstore 的警告签名版本
渐变
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.3.3'
classpath 'com.google.gms:google-services:3.0.0'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
maven { url "http://dl.bintray.com/populov/maven" }
mavenCentral()
jcenter()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
//app gradle
apply plugin: 'com.android.application'
android {
compileSdkVersion 25
buildToolsVersion "25.0.2"
defaultConfig {
applicationId "com.my.app"
minSdkVersion 15
targetSdkVersion 25
versionCode 11
versionName "2.0.0.4"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
compile project(":volley")
compile 'com.android.support:appcompat-v7:25.3.1'
compile 'com.android.support:design:25.3.1'
compile 'com.viewpagerindicator:library:2.4.1@aar'
compile 'com.android.support:cardview-v7:25.3.1'
compile 'com.android.support:recyclerview-v7:25.3.1'
compile 'de.hdodenhof:circleimageview:2.0.0'
compile 'com.facebook.android:facebook-android-sdk:4.7.0'
compile 'com.google.android.gms:play-services-gcm:10.2.1'
compile 'com.android.support:support-v4:25.3.1'
compile 'uk.co.chrisjenx:calligraphy:2.2.0'
compile 'com.github.bumptech.glide:glide:3.7.0'
compile 'com.jakewharton:butterknife:8.4.0'
compile files('libs/YouTubeAndroidPlayerApi.jar')
/*@new change gradle compile*/
compile 'com.jakewharton:butterknife:8.7.0'
annotationProcessor 'com.jakewharton:butterknife-compiler:8.7.0'
compile 'com.google.code.gson:gson:2.3.1'
}
apply plugin: 'com.google.gms.google-services'
list .xml
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="com.my.app">
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<!-- <uses-permission android:name="android.permission.GET_ACCOUNTS" />-->
<!-- <uses-permission android:name="android.permission.USE_CREDENTIALS" />-->
<uses-permission android:name="android.permission.READ_PHONE_STATE"/>
<!-- GCM Permissions -->
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" />
<permission
android:name="com.my.app.permission.C2D_MESSAGE"
android:protectionLevel="signature" />
<uses-permission android:name="com.my.app.permission.C2D_MESSAGE" />
<application
android:name=".app.AppController"
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:supportsRtl="true"
android:theme="@style/AppTheme">
<!-- LAUNCHER ACTIVITY -->
<activity
android:name=".LaunchActivity"
android:theme="@style/SplashTheme"
android:screenOrientation="portrait">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name=".SliderActivity"
android:screenOrientation="portrait">
</activity>
<activity
android:name=".LoginActivity"
android:label="Sign In"
android:screenOrientation="portrait"
android:theme="@style/Login_Accent_Theme"
></activity>
<activity
android:name=".ForgotPasswordActivity"
android:label="Change Password?"
android:parentActivityName=".LoginActivity"
android:screenOrientation="portrait"
android:theme="@style/App_Accent_Theme"
android:windowSoftInputMode="stateHidden"></activity>
<activity
android:name=".VideoActivity"
android:configChanges="orientation|keyboardHidden|screenSize"
android:hardwareAccelerated="true"
android:theme="@style/App_Accent_Theme" />
<activity
android:name=".SignUpActivity"
android:label="Sign Up"
android:screenOrientation="portrait"
android:theme="@style/Login_Accent_Theme"></activity>
<activity
android:name=".HomeActivity"
android:launchMode="singleTop"
android:configChanges="orientation"
android:screenOrientation="portrait"></activity>
<activity android:name=".YoutubePlayerActivity"
android:screenOrientation="landscape"
android:configChanges="keyboardHidden|orientation|screenSize"></activity>
<activity
android:name=".VideoLessonActivity"
android:parentActivityName=".HomeActivity"
android:screenOrientation="portrait">
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value=".HomeActivity" />
</activity>
<activity
android:name=".NotificationActivity"
android:screenOrientation="portrait"
>
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value=".HomeActivity" />
</activity>
<activity
android:name=".MTestActivity"
android:parentActivityName=".HomeActivity"
android:screenOrientation="portrait">
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value=".HomeActivity" />
</activity>
<activity
android:name=".MSummaryActivity"
android:screenOrientation="portrait">
</activity>
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value=".HomeActivity" />
</activity>
<activity
android:name=".PdfActivity"
android:launchMode="singleTop"
android:parentActivityName=".HomeActivity"
android:screenOrientation="portrait"
>
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value=".HomeActivity" />
</activity>
<activity
android:name=".WebActivity"
android:hardwareAccelerated="true"
android:screenOrientation="portrait"></activity>
<activity
android:name=".FeedWebview"
android:hardwareAccelerated="true"
android:label="News Feed"
android:screenOrientation="portrait"></activity>
<meta-data
android:name="com.google.android.gms.version"
android:value="@integer/google_play_services_version" />
<meta-data
android:name="com.facebook.sdk.ApplicationId"
android:value="@string/facebook_app_id" />
<activity
android:name="com.facebook.FacebookActivity"
android:configChanges="keyboard|keyboardHidden|screenLayout|screenSize|orientation"
android:label="@string/app_name"
android:theme="@android:style/Theme.Translucent.NoTitleBar" />
<!-- GCM CLASSES -->
<receiver
android:name="com.google.android.gms.gcm.GcmReceiver"
android:exported="true"
android:permission="com.google.android.c2dm.permission.SEND">
<intent-filter>
<action android:name="com.google.android.c2dm.intent.RECEIVE" />
<action android:name="com.google.android.c2dm.intent.REGISTRATION" />
<category android:name="com.my.app" />
</intent-filter>
</receiver>
<service android:name=".gcm.RegistrationIntentService"
android:exported="false"/>
<service
android:name=".gcm.MyGcmListenerService"
android:exported="false">
<intent-filter>
<action android:name="com.google.android.c2dm.intent.RECEIVE" />
</intent-filter>
</service>
<service
android:name=".gcm.MyInstanceIDListenerService"
android:exported="false">
<intent-filter>
<action android:name="com.google.android.gms.iid.InstanceID" />
</intent-filter>
</service>
<activity android:name=".ui.FiltrActivity"
android:theme="@style/AppThemeNoAction"
android:screenOrientation="portrait"/>
<activity android:name=".ui.SolitActivity"
android:theme="@style/AppThemeNoAction"
android:screenOrientation="portrait"/>
</application>
</manifest>
我只在 list 上添加了 2 个 Activity ,并在 gradle 中更改了新的 butternife。任何人都可以帮助我是什么原因导致 playstore 中出现警告,因为我没有对我的应用程序进行任何重大更改。
最佳答案
请检查这个answer和评论。大多数情况下,这是因为一些明显的变化和一些屏幕支持或添加了新的权限,因此是一件好事。
关于java - 设备支持删除了在 Playstore Android 上更新应用程序时出现的警告,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46399513/
我有应用内结算的问题。当我连接到 google play 时,它显示一条消息 The Market billing service is not available at this time. You
我最近在play-store上发布了一个应用到生产模式,应用状态从review变成了open testing,这是什么意思?可能是我错误地选择了一个选项,或者这是一个正常的术语,因为我是第一次遇到它。
当我尝试通过 Intent 打开我的应用程序的播放商店列表时,它正在打开 Playstore 应用程序并显示此消息,“查看此内容,安装和设置 Web 浏览应用程序”。请看截图。 我已将 chrome
我刚刚完成我的第一个 Android 应用程序,我想发布它以便在上面放置广告(使用 Unity Ads),但我不希望人们看到或下载它。是否可以使其不可见或隐藏? 最佳答案 您可以将其发布为 beta并
我想在 Google PlayStore 和亚马逊上发布我的游戏。它使用相机,所以我在 list 文件中添加了相机权限。现在我想知道我是否必须检查应用程序内设备上的相机是否可用,或者应用程序是否不会出
我的问题已在标题中说明。我在 Quora 应用程序中看到广告,但在安装屏幕上播放商店没有显示它包含广告?他们是怎么做到的? 最佳答案 因为 Quora 应用程序有自己的广告模块,它们会在应用程序中显示
我正在使用 kotlin 开发一些 Android 应用程序,如果使用 proguard,playstore 不会在故障转储中显示任何行号。任何人都知道可能是什么问题? 编辑:我正在上传 mappin
我上传 1440*2560 分辨率,.png 类型的屏幕截图到 Play 控制台。当我在我的设备上的图库中查看时,它们看起来不错,但在 Google Play 应用程序中它们看起来更糟。如何在 Pla
我在 Play 商店中有我的应用程序,它是使用 ionic 框架(一种混合代码)创建的。我的第一个测试版,下载大小约为 10MB。 但是,我注意到我在一些文字和图标上有错误,我更正了它,但没有做任何其
我正在开发一款社交安卓问答游戏。当用户向没有安装我的琐事游戏的 friend 挑战游戏时,我想向他发送一个自定义 url,以从市场上下载包含邀请用户 ID 参数的应用程序。 当应用程序第一次运行时,我
已经快 15 天了,但我无法在 Playstore 中按应用名称找到我的应用程序。 我可以通过包名称找到应用程序。 我做错了什么? 最佳答案 如果您是开发人员并且刚刚发布了您的应用,则可能会发生这种情
我们在 PlayStore 控制台中发现了很多崩溃日志,但不知道这是什么,并且无法重现它。 java.lang.SecurityException: at android.os.Parcel.re
我在 Play 商店中升级了我的应用程序,但我的用户看到了升级按钮。他们看到打开或重新安装 原来的版本是2.1.4版本代码214.. 新版本是 3.0.0 版本代码 84 我看到其他帖子说版本代码应该
通过生成 apk 来测试功能时,所有功能都工作正常,但是当我从 Playstore 下载时,登录时出现以下问题 java.lang.NullPointerException: throw with n
我遇到过许多提供“更多应用程序”选项的应用程序,该选项显示同一开发人员制作的应用程序列表,如果您单击其中一个应用程序,它会将您带到 PlayStore 上的应用程序,最好的方法是什么去做这个 ?PS:
是否可以发布与 GooglePlay 中已有名称相同的应用程序名称?如何检查应用程序名称的可用性。?我想启动应用程序,在此之前我需要确认我们如何检查域可用性。是否可以。? 给我建议你的解决方案 最佳答
Google Play 商店将应用分为三个不同的类别: 更新 手动更新 最新 应用商店将如何处理以下情况? 使用 android.permission.INTERNET 权限发布应用(版本 1) 使用
我在 Play 商店上传了该应用程序,但在上传后显示该应用程序与您的设备不兼容。我知道这与我在应用程序中使用的某些权限有关,但有什么方法可以检测到我们要上传到 Playstore 的应用程序与特定设备
我的 android 应用程序包含一个 c++ 库,apk 有点大,因为它包含所有 c++ abi 构建。所以我决定向 Playstore 发布多个 apk。如果将来我改变主意并决定上传一个通用 ap
我不小心在 Google Play 商店上传了更新版本的应用。现在我想恢复我的应用程序,我取消发布了我的应用程序的前一个版本,现在我试图激活前一个版本但我收到以下错误: 由于以下原因无法发布此配置:
我是一名优秀的程序员,十分优秀!