<?xml version="1.0" encoding="utf-8"?>
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.CAMERA" />
<uses-feature android:name="android.hardware.location.gps" />
<application
android:allowBackup="true"
android:fullBackupContent="@xml/backup_descriptor"
android:usesCleartextTraffic="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:largeHeap="true"
android:name="com.shops.nicofoods.MyApplication"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/AppTheme">
<uses-library android:name="org.apache.http.legacy" android:required="false" />
<meta-data
android:name="com.google.android.gms.version"
android:value="@integer/google_play_services_version" />
<meta-data
android:name="com.facebook.sdk.ApplicationId"
android:value="@string/facebook_app_id" />
<activity
android:name="com.facebook.FacebookActivity"
android:configChanges="keyboard|keyboardHidden|screenLayout|screenSize|orientation"
android:label="@string/app_name" />
<meta-data
android:name="com.google.android.gms.wallet.api.enabled"
android:value="true" />
<activity
android:name="com.shops.nicofoods.activities.WelcomeScreenActivity"
android:screenOrientation="portrait"
android:theme="@style/AppTheme.NoActionBar" />
<activity
android:name="com.shops.nicofoods.activities.SplashActivity"
android:screenOrientation="portrait"
android:theme="@style/AppTheme.NoActionBar">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<!-- Firebase Notifications -->
<service android:name="com.shops.nicofoods.fcm.MyFirebaseMessagingService">
<intent-filter>
<action android:name="com.google.firebase.MESSAGING_EVENT" />
</intent-filter>
</service>
<service android:name="com.shops.nicofoods.fcm.MyFirebaseInstanceIDService">
<intent-filter>
<action android:name="com.google.firebase.INSTANCE_ID_EVENT" />
</intent-filter>
</service>
<!--<activity-->
<!--android:name="com.braintreepayments.api.BraintreeBrowserSwitchActivity"-->
<!--android:launchMode="singleTask">-->
<!--<intent-filter>-->
<!--<action android:name="android.intent.action.VIEW" />-->
<!--<data android:scheme="${applicationId}.braintree" />-->
<!--<category android:name="android.intent.category.DEFAULT" />-->
<!--<category android:name="android.intent.category.BROWSABLE" />-->
<!--</intent-filter>-->
<!--</activity>-->
<activity
android:name="com.shops.nicofoods.HomeActivity"
android:screenOrientation="portrait"
android:theme="@style/AppTheme.NoActionBar"
android:windowSoftInputMode="adjustNothing" />
<meta-data
android:name="com.google.android.geo.API_KEY"
android:value="@string/p_apikey" />
<meta-data
android:name="com.razorpay.ApiKey"
android:value="rzp_live_uwWRXIWmWvbvej"
/>
<!-- <service -->
<!-- android:name=".service.OrderStatusService" -->
<!-- android:exported="false" /> -->
<activity
android:name="com.shops.nicofoods.activities.LoginActivity"
android:screenOrientation="portrait"
android:theme="@style/AppTheme.NoActionBar" />
<activity
android:name="com.shops.nicofoods.activities.AddCardActivity"
android:screenOrientation="portrait"
android:theme="@style/AppTheme.NoActionBar" />
<activity
android:name="com.shops.nicofoods.activities.OtpActivity"
android:screenOrientation="portrait"
android:theme="@style/AppTheme.NoActionBar" />
<activity
android:name="com.shops.nicofoods.activities.MobileNumberActivity"
android:screenOrientation="portrait"
android:theme="@style/AppTheme.NoActionBar" />
<activity
android:name="com.shops.nicofoods.activities.SignUpActivity"
android:screenOrientation="portrait"
android:theme="@style/AppTheme.NoActionBar" />
<activity
android:name="com.shops.nicofoods.activities.ForgotPasswordActivity"
android:label="@string/forgot_password"
android:parentActivityName="com.shops.nicofoods.activities.LoginActivity"
android:screenOrientation="portrait"
android:theme="@style/AppTheme.NoActionBar" />
<activity
android:name="com.shops.nicofoods.activities.HotelViewActivity"
android:screenOrientation="portrait"
android:theme="@style/AppTheme.NoActionBar" />
<activity
android:name="com.shops.nicofoods.activities.ChangePasswordActivity"
android:label="Change Password"
android:screenOrientation="portrait"
android:theme="@style/AppTheme.NoActionBar" />
<activity
android:name="com.shops.nicofoods.activities.FavouritesActivity"
android:screenOrientation="portrait"
android:theme="@style/AppTheme.NoActionBar" />
<activity
android:name="com.shops.nicofoods.activities.RecommendedListActivity"
android:screenOrientation="portrait"
android:theme="@style/AppTheme.NoActionBar" />
<activity
android:name="com.shops.nicofoods.activities.EditAccountActivity"
android:screenOrientation="portrait"
android:theme="@style/AppTheme.NoActionBar" />
<activity
android:name="com.shops.nicofoods.activities.SetDeliveryLocationActivity"
android:screenOrientation="portrait"
android:theme="@style/AppTheme.NoActionBar" />
<activity
android:name="com.shops.nicofoods.activities.SaveDeliveryLocationActivity"
android:theme="@style/AppTheme.NoActionBar" />
<activity
android:name="com.shops.nicofoods.activities.ManageAddressActivity"
android:screenOrientation="portrait"
android:theme="@style/AppTheme.NoActionBar" />
<activity
android:name="com.shops.nicofoods.activities.AccountPaymentActivity"
android:screenOrientation="portrait"
android:theme="@style/AppTheme.NoActionBar" />
<activity
android:name="com.shops.nicofoods.activities.OrdersActivity"
android:screenOrientation="portrait"
android:theme="@style/AppTheme.NoActionBar" />
<activity
android:name="com.shops.nicofoods.activities.FilterActivity"
android:screenOrientation="portrait"
android:theme="@style/AppTheme.NoActionBar" />
<activity
android:name="com.shops.nicofoods.activities.ViewCartActivity"
android:screenOrientation="portrait"
android:theme="@style/AppTheme.NoActionBar" />
<activity
android:name="com.shops.nicofoods.activities.PastOrderDetailActivity"
android:screenOrientation="portrait"
android:theme="@style/AppTheme.NoActionBar" />
<activity
android:name="com.shops.nicofoods.activities.OtherHelpActivity"
android:screenOrientation="portrait"
android:theme="@style/AppTheme.NoActionBar"
android:windowSoftInputMode="adjustResize" />
<activity
android:name="com.shops.nicofoods.activities.NotificationActivity"
android:screenOrientation="portrait"
android:theme="@style/AppTheme.NoActionBar" />
<activity
android:name="com.shops.nicofoods.activities.PromotionActivity"
android:screenOrientation="portrait"
android:theme="@style/AppTheme.NoActionBar" />
<activity
android:name="com.shops.nicofoods.activities.CurrentOrderDetailActivity"
android:screenOrientation="portrait"
android:theme="@style/AppTheme.NoActionBar" />
<activity
android:name="com.shops.nicofoods.activities.AddMoneyActivity"
android:screenOrientation="portrait"
android:windowSoftInputMode="adjustNothing"
android:theme="@style/AppTheme.NoActionBar" />
<activity
android:name="com.shops.nicofoods.activities.WalletActivity"
android:screenOrientation="portrait"
android:theme="@style/AppTheme.NoActionBar" />
<meta-data
android:name="io.fabric.ApiKey"
android:value="3aef7a5b05836cf8166f23c95e43c52517bee917" />
<activity
android:name="com.shops.nicofoods.activities.ResetPasswordActivity"
android:screenOrientation="portrait" />
<activity
android:name="com.shops.nicofoods.activities.PaymentActivity"
android:screenOrientation="portrait" />
<activity
android:name="com.shops.nicofoods.activities.SecretKeyActivity"
android:screenOrientation="portrait" />
<!--<provider-->
<!--android:name="android.support.v4.content.FileProvider"-->
<!--android:authorities="${applicationId}.fileprovider"-->
<!--android:exported="false"-->
<!--android:grantUriPermissions="true">-->
<!--<meta-data-->
<!--android:name="android.support.FILE_PROVIDER_PATHS"-->
<!--android:resource="@xml/file_paths" />-->
<!--</provider>-->
<activity
android:name="com.shops.nicofoods.activities.ProductDetailActivity"
android:theme="@style/AppTheme.NoActionBar"
android:windowSoftInputMode="adjustPan"
android:parentActivityName="com.shops.nicofoods.activities.HotelViewActivity"
/>
</application>
2020-01-28 17:59:45.028 1684-1684/? E/FirebaseInstanceId: Failed to start service while in background: java.lang.IllegalStateException: Not allowed to start service Intent {
我在Android中做了一个简单的计时器应用程序,就像只要过了10sec它就会给出一个消息“完成了!!!”。 在中(计划添加嘟嘟声),同时在另一个文本视图中显示。但我注意到我的应用程序在nexus模拟器上运行得很好,而在pixel模拟器上却崩溃了, 而且我的真手机(红米note 4)也一直崩溃, 这可能是什么原因? 我的代码: XML代码: Logcat错误消息: 图像
下面是源代码。这个程序只是做内存匹配游戏,在Android4.4包com.example.myimagematchgamev10中运行良好; 我在清单xml中有以下内容 以上是清单xml 下面是我得到的日志 正在等待设备。"C:\Program Files(x86)\Android\android-dios\sdk\tools\emulator.exe"-avdAVD_for_Nexus_S-ne
我创建了一个JasperReport应用程序,它在tomcat服务器上运行良好。但是当我使用相同的jar在Jboss上运行时,它会显示错误 原因:java.lang.ClassCastException:org.apache.xerces.jaxp.DocumentBuilderFactoryImpl无法强制转换为javax.xml.parsers.DocumentBuilderFactor.ne
我有应用程序上传在玩商店。它在调试模式下运行良好,但当我从play store下载相同的APK(发布模式)时,它就崩溃了。我无法确定堆栈跟踪没有给出准确的错误位置。 java.lang.RuntimeException:在Android.os.AsyncTask$3上完成(asynctask.java:318)在java.util.concurrent.FutureTask.FinishCompl
我是Android开发的新手。我能够使这个应用程序在Android5.1中工作,但是,当我试图在Android4.1中部署这个应用程序时,它在主活动本身就会崩溃。我理解它,因为我使用的是矢量图像和Android4.1不兼容它。为了克服这一点,我设置了如下所述的代码: 我现在收到这个错误 代码文件 XML文件 请帮助我调试这个。我有点被困住了,需要你的帮助。