Android Studio 删除REQUEST_INSTALL_PACKAGES的使用,但如果没有呢?

2o7dmzc5  于 2022-11-16  发布在  Android
关注(0)|答案(1)|浏览(321)

我想寻求帮助。Google Play阻止了我的应用,因为:-请从您的应用程序中删除对REQUEST_INSTALL_PACKAGES权限的使用。
"但我不使用这样的权限"
我提交了几次,试图把这个放在androidmanifest.xml:

<uses-permission
        android:name="android.permission.REQUEST_INSTALL_PACKAGES"
        tools:node="remove"/>

但即使在那时也没有被接受......会有什么问题呢?
我用了这个dependices:

dependencies {
    implementation fileTree(dir: 'libs', include: ['*.jar'])
    //noinspection GradleCompatible
    implementation 'androidx.appcompat:appcompat:1.0.0'
    //noinspection GradleCompatible
    implementation 'com.google.android.material:material:1.0.0'
    implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
    implementation 'com.google.android.gms:play-services-ads:16.0.0'
    implementation 'com.android.volley:volley:1.1.0'
    implementation 'com.google.firebase:firebase-core:16.0.8'
    implementation 'com.google.firebase:firebase-messaging:17.3.4'
    testImplementation 'junit:junit:4.12'
    //noinspection GradleCompatible
    androidTestImplementation 'androidx.test.ext:junit:1.1.1'
    androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.0'
}
apply plugin: 'com.google.gms.google-services'

目标SDK版本:31
请帮帮我!谢谢!

lvmkulzt

lvmkulzt1#

我设法解决了它。**问题是,它必须上传的测试版本以及!**如果有人遇到类似的东西...

相关问题