我观察到,在应用程序上传到谷歌市场后,在平板电脑上找不到它。我在谷歌上搜索了minsdk和xlarge屏幕,但应用程序仍然不可见。还能做什么?应用程序是在Qt 5.1上为Android制作的-这可能会以某种方式影响我吗?
这是我更新的清单:
<?xml version='1.0' encoding='utf-8'?>
<manifest package="qqq.qqq" android:versionName="1.11" android:versionCode="11" xmlns:android="http://schemas.android.com/apk/res/android">
<application android:name="org.qtproject.qt5.android.bindings.QtApplication" android:label="@string/app_name" android:icon="@drawable/icon">
<activity android:configChanges="orientation|locale|fontScale|keyboard|keyboardHidden|screenSize" android:name="org.qtproject.qt5.android.bindings.QtActivity" android:label="@string/app_name" android:launchMode="singleTask" android:hardwareAccelerated="true">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
<meta-data android:name="android.app.qt_sources_resource_id" android:resource="@array/qt_sources"/>
<meta-data android:value="@string/repository" android:name="android.app.repository"/>
<meta-data android:name="android.app.qt_libs_resource_id" android:resource="@array/qt_libs"/>
<meta-data android:name="android.app.bundled_libs_resource_id" android:resource="@array/bundled_libs"/>
<meta-data android:value="lasercad" android:name="android.app.lib_name"/>
<!-- Deploy Qt libs as part of package -->
<meta-data android:value="1" android:name="android.app.bundle_local_qt_libs"/>
<meta-data android:name="android.app.bundled_in_lib_resource_id" android:resource="@array/bundled_in_lib"/>
<meta-data android:name="android.app.bundled_in_assets_resource_id" android:resource="@array/bundled_in_assets"/>
<!-- Run with local libs -->
<meta-data android:value="1" android:name="android.app.use_local_qt_libs"/>
<meta-data android:value="/data/local/tmp/qt/" android:name="android.app.libs_prefix"/>
<meta-data android:value="plugins/platforms/android/libqtforandroid.so:libs/libgnustl_shared.so:" android:name="android.app.load_local_libs"/>
<meta-data android:value="jar/QtAndroid-bundled.jar:" android:name="android.app.load_local_jars"/>
<meta-data android:value=":" android:name="android.app.static_init_classes"/>
<!-- Messages maps -->
<meta-data android:value="@string/ministro_not_found_msg" android:name="android.app.ministro_not_found_msg"/>
<meta-data android:value="@string/ministro_needed_msg" android:name="android.app.ministro_needed_msg"/>
<meta-data android:value="@string/fatal_error_msg" android:name="android.app.fatal_error_msg"/>
<!-- Messages maps -->
</activity>
<activity android:name="org.j2cpp.CameraTest" android:label="@string/app_name"/>
<activity android:name="org.qtproject.qt5.android.bindings.StartJavaActivity" android:label="@string/app_name">
<intent-filter>
<category android:name="android.intent.category.DEFAULT"/>
</intent-filter>
</activity>
<activity android:name="org.qtproject.qt5.android.bindings.PhotoIntentActivity" android:label="@string/app_name"/>
<activity android:name="org.qtproject.qt5.android.bindings.SettingsActivity" android:label="@string/app_name">
<intent-filter>
<category android:name="android.intent.category.DEFAULT"/>
<category android:name="android.intent.category.PREFERENCE"/>
</intent-filter>
</activity>
</application>
<uses-sdk android:minSdkVersion="10" android:targetSdkVersion="15"/>
<supports-screens android:resizeable="true" android:smallScreens="true" android:largeScreens="true" android:normalScreens="true" android:xlargeScreens="true" android:anyDensity="true"/>
<uses-permission android:name="android.permission.BLUETOOTH" android:required="false" />
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN" android:required="false" />
<uses-permission android:name="android.permission.CAMERA" android:required="false" />
<uses-permission android:name="android.permission.INTERNET" android:required="false" />
<uses-permission android:name="android.permission.RECORD_AUDIO" android:required="false" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" android:required="false" />
</manifest>
更新:这是我的apk文件的aapt结果:
C:srcAndroidsdkbuild-tools17.0.0>aapt.exe dump badging C:p4viewsAndroidLaserSrcandroidbinLasercad-debug.apk
package: name='lasercad.mobile' versionCode='11' versionName='1.11'
application-label:'Lasercad'
application-label-fa:'Lasercad'
application-label-ja:'Lasercad'
application-label-nb:'Lasercad'
application-label-id:'Lasercad'
application-label-de:'Lasercad'
application-label-el:'Lasercad'
application-label-nl:'Lasercad'
application-label-pl:'Lasercad'
application-label-ro:'Lasercad'
application-label-fr:'Lasercad'
application-label-es:'Lasercad'
application-label-ms:'Lasercad'
application-label-rs:'Lasercad'
application-label-et:'Lasercad'
application-label-it:'Lasercad'
application-label-ru:'Lasercad'
application-label-zh_CN:'Lasercad'
application-label-pt_BR:'Lasercad'
application-label-zh_TW:'Lasercad'
application-icon-120:'res/drawable-ldpi/icon.png'
application-icon-160:'res/drawable-mdpi/icon.png'
application-icon-240:'res/drawable-hdpi/icon.png'
application: label='Lasercad' icon='res/drawable-mdpi/icon.png'
application-debuggable
launchable-activity: name='org.qtproject.qt5.android.bindings.QtActivity' label='Lasercad' icon=''
sdkVersion:'10'
targetSdkVersion:'15'
uses-permission:'android.permission.BLUETOOTH'
uses-permission:'android.permission.BLUETOOTH_ADMIN'
uses-permission:'android.permission.CAMERA'
uses-permission:'android.permission.INTERNET'
uses-permission:'android.permission.RECORD_AUDIO'
uses-permission:'android.permission.WRITE_EXTERNAL_STORAGE'
uses-permission:'android.permission.READ_EXTERNAL_STORAGE'
uses-implied-permission:'android.permission.READ_EXTERNAL_STORAGE','requested WRITE_EXTERNAL_STORAGE'
uses-feature:'android.hardware.camera'
uses-feature:'android.hardware.camera.autofocus'
uses-implied-feature:'android.hardware.camera.autofocus','requested android.permission.CAMERA permission'
uses-feature:'android.hardware.bluetooth'
uses-implied-feature:'android.hardware.bluetooth','requested android.permission.BLUETOOTH or android.permission.BLUETOOTH_ADMIN permission and targetSdkVersion> 4'
uses-feature:'android.hardware.microphone'
uses-implied-feature:'android.hardware.microphone','requested android.permission.RECORD_AUDIO permission'
uses-feature:'android.hardware.touchscreen'
uses-implied-feature:'android.hardware.touchscreen','assumed you require a touch screen unless explicitly made optional'
main
other-activities
supports-screens: 'small' 'normal' 'large' 'xlarge'
supports-any-density: 'true'
locales: '--_--' 'fa' 'ja' 'nb' 'id' 'de' 'el' 'nl' 'pl' 'ro' 'fr' 'es' 'ms' 'rs' 'et' 'it' 'ru' 'zh_CN' 'pt_BR' 'zh_TW'
densities: '120' '160' '240'
native-code: 'armeabi' 'armeabi-v7a'
确保您已将"活动"添加到Manifest.xml中,并在Manifest模式下使用包名和活动节点正确
确保您在中做正确的事情
使用功能
和
使用权限
有时你可能会请求一些功能(或通过权限隐含地要求一些功能),如手机/gps等,这些功能通常不会在平板电脑上配备。
最佳实践应该是
<uses-feature
android:name="android.hardware.location.gps"
android:required="false" />