gpt4 book ai didi

android - 找出智能手机支持的使用权限

转载 作者:塔克拉玛干 更新时间:2023-11-03 00:50:03 25 4
gpt4 key购买 nike

我正在做一个必须在多个华为 U8180(预算 2.2 Android 设备)上运行的小 android 应用程序。

我已经在 Google Play 上发布了该应用程序,即使控制台显示该应用程序支持该模型,它也没有出现在 Play 商店应用程序中,或者在尝试通过浏览器安装该应用程序时,它表示不支持该设备。

实际上,这是一个非常简单的应用程序,我在其中进行了整个调试,但它不会在手机上显示或安装!

要求如下:

<uses-sdk android:minSdkVersion="8" />
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>

我如何找出哪个 <uses-permision> ,或其他可能的东西,阻止应用程序在手机上显示和安装?

链接:

应用程序(进行中):https://play.google.com/store/apps/details?id=com.cimp.matitec&feature=search_result#?t=W251bGwsMSwyLDEsImNvbS5jaW1wLm1hdGl0ZWMiXQ

华为U8180:http://www.gsmarena.com/huawei_u8180_ideos_x1-4204.php

编辑:这是 list :

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.cimp.matitec"
android:versionCode="4"
android:versionName="1.0.0.3"
>

<uses-sdk android:minSdkVersion="8" />
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>

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

<application
android:icon="@drawable/logo_matitec"
android:label="@string/app_name"
android:name=".MatiTecApplication"
android:theme="@style/Theme.MatiTec"
android:allowBackup="true">
<activity
android:name=".DbTemas"
android:label="@string/app_name"
android:screenOrientation="portrait" >
</activity>
<activity
android:name=".Tema"
android:screenOrientation="portrait" >
</activity>
<activity
android:name=".Modulos"
android:screenOrientation="portrait" >
</activity>
<activity android:name=".social"
android:theme="@style/Theme.MatiTecBG"
android:screenOrientation="portrait"
></activity>
<activity android:name=".NewsFeed"
android:theme="@style/Theme.MatiTecBG"
android:screenOrientation="portrait"
></activity>
<activity
android:name=".Perfil"
android:screenOrientation="portrait" >
</activity>
<activity
android:name=".Estadisticas"
android:screenOrientation="portrait" >
</activity>
<activity android:name=".Login"
android:noHistory="true"
android:theme="@style/Theme.Matitec_login"
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=".Lecturas"
android:screenOrientation="portrait"
android:theme="@style/list">
</activity>
<activity
android:name=".Ejercicio"
android:screenOrientation="portrait">
</activity>
<activity
android:name=".EjercicioDinamico"
android:screenOrientation="portrait" >
</activity>
<activity
android:name=".ModulosEjercicios"
android:screenOrientation="portrait" >
</activity>
</application>

编辑 2:从浏览器打开应用程序条目时的 Logcat 输出,有关于 restriction = 9 的内容

I/ActivityManager(  129): Displayed activity com.android.vending/com.google.android.finsky.activities.MainActivity: 320 ms (total 320 ms)
D/Finsky ( 508): [1] SelfUpdateScheduler.checkForSelfUpdate: Skipping DFE self-update. Local Version [80210006] >= Server Version [-1]
E/Finsky ( 508): [24] ElegantGoogleAuthUtil.ensurePlayServicesAvailable: GooglePlayServices is not available.
I/ElegantRequestDirector( 508): I/O exception (org.apache.http.NoHttpResponseException) caught when processing request: The target server failed to respond
D/PlayEventLogger( 508): ActiveExperiments changed, sending with next LogEvent
I/ElegantRequestDirector( 508): Retrying request
D/Finsky ( 508): [1] LibraryUtils.isAvailable: com.cimp.matitec not available [restriction=9].
D/Finsky ( 508): [1] DocUtils.getAvailabilityRestrictionResourceId: Item is not available. Reason: 9
D/Finsky ( 508): [1] DetailsDataBasedFragment.rebindViews: Page [class=DetailsFragment] loaded in [1087 ms] (hasDetailsDataLoaded? false)
D/Finsky ( 508): [1] LibraryUtils.isAvailable: com.cimp.matitec not available [restriction=9].
D/Finsky ( 508): [1] LibraryUtils.isAvailable: com.cimp.matitec not available [restriction=9].
D/QCRIL_MSC ( 76): "RIL"=>"AMSS" [ label = "cm_ph_cmd_get_ph_info()"];
W/Finsky ( 508): [1] HistogramView.bind: No histogram data received from server
D/Finsky ( 508): [1] LibraryUtils.isAvailable: com.cimp.matitec not available [restriction=9].
D/Finsky ( 508): [1] DocUtils.getAvailabilityRestrictionResourceId: Item is not available. Reason: 9
D/Finsky ( 508): [1] DetailsDataBasedFragment.rebindViews: Page [class=DetailsFragment] loaded in [1490 ms] (hasDetailsDataLoaded? true)
V/StkAppReceiver( 565): start to check load situation:==true
V/StkAppReceiver( 565): continue action
V/StatusBarPolicy( 129): getPPPoEDeskTopIcon() mCplusWStatus= -1
D/Volley ( 508): [13] BasicNetwork.logSlowRequests: HTTP response for request=<[ ] https://android.clients.google.com/fdfe/log 0xe8d195d1 NORMAL 41> [lifetime=3491], [size=8], [rc=200], [retryCount=0]
I/Resources( 508): Loaded time zone names for en_US in 641ms.
D/Volley ( 508): [1] Request.finish: 4171 ms: [ ] https://android.clients.google.com/fdfe/log 0xe8d195d1 NORMAL 41
V/StatusBarPolicy( 129): getPPPoEDeskTopIcon() mCplusWStatus= -1
V/StkAppReceiver( 565): start to check load situation:==true
V/StkAppReceiver( 565): continue action

最佳答案

我想权限可能不是问题。这些或多或少是当今每个应用程序都希望拥有的标准权限。 Google Playstore 还过滤了一些其他内容:

  • <supports-screens>
  • <uses-configuration>
  • <uses-feature>
  • <uses-library>
  • <uses-permission>
  • <uses-sdk>

来自独库here

检查您的 Manifest如果有特殊情况,请提交。

也许这会有所帮助:

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

关于android - 找出智能手机支持的使用权限,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17179571/

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