I am currently trying to use flutter local notifications.
To do this, we need to use flutter_local_notifications package.
I am unable to add it as a receiver in my Manifest.xml file and the error that keeps popping up is : Unresolved package dexterous.
Also, when I check my flutter plugins,
How can I resolve this?
Related
I am getting override error when I set package in MainApplication.java. I am getting this error that i should use canOverrideExistingModule=true but i don't know how to set that up.
NOTE: I don't need firebase. I just need to setup local and scheduled notifications.
react-native: '0.70.5'
react-native-push-notification: "^8.1.1",
I have tried removing package from MainApplication.java but that doesn't work either.
I am trying to add webpage to my flutter website and getting this error
code: Web_view.dart
code
error
In order to use completers, you need to import the dart:async
I have implemented Capacitor plugin for Firebase Crashlytics in my Ionic 5 app following this doc. I completed all the steps but getting the following error.
error: package com.getcapacitor.community.firebasecrashlytic does not exist
^
This error is coming when Android Studio is trying to build the project. The error is comming the the MainActivity.java class in line import com.getcapacitor.community.firebasecrashlytic.FirebaseCrashlytics;
In short
There is a typo in README. I managed to fix it by adding s in firebasecrashlytic.
Just change import com.getcapacitor.community.firebasecrashlytic.FirebaseCrashlytics; to import com.getcapacitor.community.firebasecrashlytics.FirebaseCrashlytics;
Some fun
There was an issue related to this "bug". The issue was closed without fixing the cause.
There are already a few pull requests (like this one) waiting for approval.
this might seem trivial but I can't understand why I'm getting this error.
I downloaded the sample app activityInstrumentation( from Android Studio File -> import Sample) and inside the testing project manifest I get an unresolved symbol for
android:targetPackage="com.example.android.activityinstrumentation".
After that I've created a manifest for my application and still there is an unresolved symbol on the attribute.
My application project dir and test project dir are:
app/src/main/java/com/example/appname
where manifest has
package="com.example.appname"
app/src/androidTest/java/com/example/appname
where manifest has
<manifest
...
package="com.example.appname.tests"
...
android:targetPackage="com.example.appname"
...
</manifest>
Please help me sort this out. I don't know what else I can do: using a sample app to create a full fledged test project was my very last hope.
You must specify android:targetPackage in instrumentation tag.
[http://developer.android.com/guide/topics/manifest/instrumentation-element.html
]
I see the same thing. Seems to be only false alert produced by the lint code inspection. When you run analysis (Analyze->Inspect code...) and open "Inspection" tab you can select the warning and mark it Suppress for tag. That will get rid of the warning.
The Previous Application is 1.0.0 and In current application the version name changed from 1.0.0 to 1.0.1 also changed the app_name in AndroidManifest.xml. After that exported the signed Application APK and try to re-install new APK but got following Exceptions.
Here is my Log error :
java.lang.RunTimeException: Unable to instantiate application [packageName] :
java.lang.ClassNotFoundException : Didn't find the class android:name [ packageName :activityName] on path :DexPathList and Caused by :
java.lang.ClassNotFoundException : Didn't find the the class.
Help me and suggest me why these happened ?
Remove your application from device and try again.
Hope it will help you.