APK上传到Play商店,得到0支持的设备,但没有错误 [英] Uploaded APK to Play Store, got 0 supported devices but no error

查看:782
本文介绍了APK上传到Play商店,得到0支持的设备,但没有错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我要发布我的应用程序Play商店的Alpha版,但我正在逐渐0支持的设备,这是令人沮丧,因为我看不到的bug。

I am trying to publish an Alpha version of my app to the Play Store, but I am getting 0 supported devices and it is frustrating as I don't see the bug.

该项目是一个新的样式(gradle这个)和API声明和版本是在定义的build.gradle

The project is a new style (gradle) and the API declaration and versions are defined in the build.gradle.

您可以在这里 https://github.com/Coinomi/coinomi-android

下面是我的清单文件:

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.coinomi.wallet"
    android:installLocation="internalOnly" >

    <uses-permission android:name="android.permission.INTERNET" />
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
    <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
    <uses-permission android:name="android.permission.NFC" />
    <uses-permission android:name="android.permission.CAMERA" />
    <uses-permission android:name="android.permission.VIBRATE" />
    <uses-permission android:name="android.permission.WAKE_LOCK" />
    <uses-permission android:name="android.permission.BROADCAST_STICKY" />
    <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
    <uses-permission android:name="android.permission.BLUETOOTH" />

    <uses-feature
        android:name="android.hardware.touchscreen"
        android:required="false" />
    <uses-feature
        android:name="android.hardware.nfc"
        android:required="false" />
    <uses-feature
        android:name="android.hardware.camera"
        android:required="false" />
    <uses-feature
        android:name="android.hardware.camera.front"
        android:required="false" />
    <uses-feature
        android:name="android.hardware.camera.autofocus"
        android:required="false" />
    <uses-feature
        android:name="android.hardware.camera.flash"
        android:required="false" />
    <uses-feature
        android:name="android.hardware.screen.landscape"
        android:required="false" />
    <uses-feature
        android:name="android.hardware.bluetooth"
        android:required="false" />

    <supports-screens
        android:anyDensity="true"
        android:largeScreens="true"
        android:normalScreens="true"
        android:smallScreens="true"
        android:xlargeScreens="true" />

    <application
        android:name=".WalletApplication"
        android:allowBackup="false"
        android:icon="@drawable/ic_launcher"
        android:label="@string/app_name"
        android:theme="@style/AppTheme" >

        <activity
            android:name=".ui.WalletActivity"
            android:label="@string/app_name"
            android:screenOrientation="portrait"
            android:windowSoftInputMode="adjustResize" >
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>

        <activity
            android:name=".ui.IntroActivity"
            android:theme="@style/NoTitleBar"
            android:screenOrientation="portrait"
            android:windowSoftInputMode="adjustResize" >
        </activity>

        <activity
            android:name=".ui.ScanActivity"
            android:configChanges="orientation|keyboard|keyboardHidden"
            android:theme="@style/NoTitleBar"
            android:screenOrientation="landscape"
            android:stateNotNeeded="true"
            android:windowSoftInputMode="stateAlwaysHidden" />

        <service
            android:name=".service.CoinServiceImpl"
            android:exported="false" />

    </application>

</manifest>

我你有一个想法,请帮助,因为我从昨天卡住了。

I you have an idea please help because I am stuck from yesterday.

谢谢!

推荐答案

最后,它是一个依赖编译com.lambdaworks:scrypt:1.4.0 这是造成的问题。

Finally it was a dependency compile 'com.lambdaworks:scrypt:1.4.0' that was causing the issue.

如果你偶然发现这个问题,检查是否在APK详细信息对话框在谷歌,如果你有玩:

If you stumble upon this issue, check if in the APK DETAILS dialog in Google Play if you have:

本地平台的x86_64

这是,我认为,这个问题,因为当我删除了依赖,去除部分x86_64的,得到了​​6814支持的设备。

This was, I think, the problem because when I removed the dependency, the x86_64 part was removed and got 6814 supported devices.

更新

问题的根源是,依赖已经pcompiled的.so库,但没有对Android原生$ P $。我不得不从源代码的平台与NDK重新编译:armeabi-V7A和armeabi

The root of the problem was that the dependency had native precompiled .so libraries but none for Android. I had to recompile with NDK from source for the platforms: armeabi-v7a and armeabi

这篇关于APK上传到Play商店,得到0支持的设备,但没有错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆