gpt4 book ai didi

当应用程序在 Play 商店上线时,Android 应用程序受 0 台设备支持

转载 作者:塔克拉玛干 更新时间:2023-11-02 22:40:19 25 4
gpt4 key购买 nike

我已经在 Play Store 上启动了我的应用程序,当我检查我的实时应用程序时,它与所有 Android 设备都不兼容。我检查了 Play 商店控制台。它显示了 0 个支持的设备。我不知道为什么我的应用程序不支持任何设备。

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="zkm.com.zkm">

<uses-permission android:name="android.permission.INTERNET">

</uses-permission>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.CAMERA" />

<uses-feature android:name="android.permission.CAMERA" />
<uses-feature
android:name="android.hardware.camera"
android:required="true" />

<application
android:name="zkm.com.zkm.Utils.AppController"
android:allowBackup="true"
android:hardwareAccelerated="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/AppTheme"
android:usesCleartextTraffic="true"
tools:ignore="GoogleAppIndexingWarning">
<activity
android:name="zkm.com.zkm.Activity.Splash"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateAlwaysHidden">
<intent-filter>
<action android:name="android.intent.action.MAIN" />

<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name="zkm.com.zkm.Activity.WelcomeActivity"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateAlwaysHidden" />
<activity
android:name="zkm.com.zkm.Activity.CarerSeekerActivity"
android:screenOrientation="portrait"
android:windowSoftInputMode="adjustPan|stateAlwaysHidden"

/>
<activity
android:name="zkm.com.zkm.Activity.SeekerAdditionalDetailActivity"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateAlwaysHidden" />
<activity
android:name="zkm.com.zkm.Activity.CareSeekerRegistrationActivity"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateAlwaysHidden" />
<activity
android:name="zkm.com.zkm.Activity.LoginActivity"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateAlwaysHidden" />
<activity
android:name="zkm.com.zkm.Activity.HelpActivity"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateAlwaysHidden" />
<activity
android:name="zkm.com.zkm.Activity.CareProviderHelpActivity"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateAlwaysHidden" />
<activity
android:name="zkm.com.zkm.Activity.CareProviderActivity"
android:screenOrientation="portrait"
android:windowSoftInputMode="adjustPan|stateAlwaysHidden" />
<activity
android:name="zkm.com.zkm.Activity.ForgotPasswordActivity"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateAlwaysHidden" />

<activity
android:name="zkm.com.zkm.Activity.ConfirmPasswordActivity"
android:screenOrientation="portrait"
android:windowSoftInputMode="stateAlwaysHidden" />

<activity
android:name="zkm.com.zkm.Activity.SearchCareProfileSeekerActivity"
android:screenOrientation="portrait"
android:windowSoftInputMode="adjustPan|stateAlwaysHidden" />


<activity
android:name="zkm.com.zkm.Activity.SearchPackageCareProviderActivity"
android:screenOrientation="portrait"
android:windowSoftInputMode="adjustPan|stateAlwaysHidden" />

<!-- Firebase Notifications -->
<service
android:name="zkm.com.zkm.Notification.MyFirebaseMessagingService"
android:exported="true"
android:stopWithTask="false">
<intent-filter>
<action android:name="com.google.firebase.MESSAGING_EVENT" />
</intent-filter>
</service>

<service android:name="zkm.com.zkm.Notification.MyFirebaseInstanceIDService">
<intent-filter>
<action android:name="com.google.firebase.INSTANCE_ID_EVENT" />
</intent-filter>
</service>


<!-- ./Firebase Notifications -->


<provider
android:name="android.support.v4.content.FileProvider"
android:authorities="zkm.com.zkm.fileprovider"
android:exported="false"
android:grantUriPermissions="true">
<meta-data
android:name="android.support.FILE_PROVIDER_PATHS"
android:resource="@xml/file_paths"></meta-data>
</provider>


</application>

应用的 Gradle:

      apply plugin: 'com.android.application'

android {
compileSdkVersion 28
defaultConfig {
applicationId "zkm.com.zkm"
minSdkVersion 19
targetSdkVersion 28
versionCode 2
versionName "1.0.1"
testInstrumentationRunner
"android.support.test.runner.AndroidJUnitRunner"

}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-
android.txt'), 'proguard-rules.pro'
}
}

lintOptions {
checkReleaseBuilds false
// Or, if you prefer, you can continue to check for
errors in release builds,
// but continue the build even when errors are found:
abortOnError false
}
}

dependencies {

implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'com.android.support:appcompat-v7:28.0.0'
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
implementation 'com.android.support:design:28.0.0'
implementation 'com.android.support:support-v4:28.0.0'
implementation 'com.android.support:support-vector-drawable:28.0.0'

implementation 'com.crystal:crystalrangeseekbar:1.1.3'
implementation 'com.ramotion.foldingcell:folding-cell:1.2.2'
implementation 'com.android.support:recyclerview-v7:28.0.0'
implementation 'com.github.emanzanoaxa:RippleEffect:52ea2a0ab6'


testImplementation 'junit:junit:4.12'
androidTestImplementation 'com.android.support.test:runner:1.0.2'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
implementation 'com.squareup.retrofit2:retrofit:2.1.0'
implementation 'com.google.code.gson:gson:2.6.2'
implementation 'com.squareup.retrofit2:converter-gson:2.1.0'
implementation 'com.android.volley:volley:1.1.0'
implementation 'de.hdodenhof:circleimageview:3.0.0'
implementation 'com.github.bumptech.glide:glide:3.7.0'
implementation 'com.google.firebase:firebase-messaging:17.3.4'
implementation 'com.stripe:stripe-android:8.7.0'
implementation 'com.hbb20:ccp:2.2.0'

repositories {

maven {
url "https://jitpack.io"
}
}
}
apply plugin: 'com.google.gms.google-services'

请检查我的 list ,让我知道我做错了什么。

最佳答案

似乎没有什么特别的错误,但我怀疑这一行:

<uses-feature android:name="android.permission.CAMERA" />

因为我觉得应该是:

<uses-permission android:name="android.permission.CAMERA" />

而且您已经包含在您的 Android list 文件中,所以只需删除这条怀疑线,看看会发生什么!

关于当应用程序在 Play 商店上线时,Android 应用程序受 0 台设备支持,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57585638/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com