我做了一个应用程序。发布到Google Play后,它无法正常工作。
我生成了已签名的APK并且我上传了它,然后再上传我测试的release-apk 在NOX-APP-Player,android Emulater和我的手机上。
但发布的apk工作得很好。同样的,我上传到谷歌播放,没有工作。它只显示白屏..
我花了24小时来解决这个问题,但我还没有找到合适的解决方案..我发现的只是像proguard问题.. Android app doesn't work after published it by generate signed app
但它没有帮助..
有人帮我pleaseeeeeeeeee
我的清单文件就像
<?xml version="1.0" encoding="utf-8"?>
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="com.android.launcher.permission.INSTALL_SHORTCUT" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<!--
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" />-->
<!--
<uses-permission android:name="android.permission.READ_SMS" />-->
<application
android:name="android.support.multidex.MultiDexApplication"
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:largeHeap="true"
android:supportsRtl="true"
android:theme="@style/AppTheme">
<meta-data android:name="com.google.android.gms.version"
android:value="@integer/google_play_services_version"/>
<activity
android:name="com.sauce.semo.SplashActivity"
android:theme="@style/Theme.Transparent"
android:noHistory="true"
android:screenOrientation="portrait"/>
<activity android:name="com.sauce.semo.MainActivity"
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="com.sauce.semo.SearchActivity"
android:windowSoftInputMode="adjustResize">
<intent-filter>
<action android:name="android.intent.action.SEARCH"
android:screenOrientation="portrait"/>
</intent-filter>
</activity>
<service
android:name="com.sauce.semo.BubbleService"
android:enabled="true"
android:exported="true" />
<activity android:name="com.sauce.semo.Alert_Dialog"
android:theme="@android:style/Theme.Dialog"
android:screenOrientation="portrait">
</activity>
</application>
另外,我安装了apk版本,我发现了这个东西.. 它与我的问题有关吗?
10-03 23:44:06.455 27822-27840/? V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