I am new to Android app development. I try to connect my app with facebook using SocialAuth SDK. but am getting a error as
"no package identifier when getting value for resource number 0x00000000" and thread id=1: thread exiting with uncaught exception (group=0xb2a40ba8) then it goes to FATAL EXCEPTION: main.
I have tried to clean and build the project, but nothing happens, still getting same errors.
Can anyone help me to resolve this problem.?
08-04 11:28:15.642: E/AndroidRuntime(2227):
android.content.res.Resources$NotFoundException: Resource ID
You have to put Icon for facebook named facebook.png into your res (Resource) folder it's not able to find it right now that's why you are getting ResourcesNotFoundException.
Related
I'm trying to run a program, but it's showing an error:
Exception in thread "main"
org.openqa.selenium.SessionNotCreatedException: Unable to create a new
remote session. Please check the server log for more details.
Original error: An unknown server-side error occurred while processing the
command. Original error: The application at
'C:\Users\Sodainmind\eclipse-workspace.metadata.metadata\Mobileautomation\carbonate_staging_1-75_23MAR2020.apk'
does not exist or is not accessible
how to solve ? i have change work place of that application too but its not working
I am reviving an old github repo of an instagram clone. The problem is, the manifest merger keeps failing.
I have tried updating, adding overrides, downgrading, removing then syncing then re-adding but nothing works.
I end up with the error:
Manifest merger failed with multiple errors, see logs
I think it has something to do with firebase starting because one of the error is as follows
2019-08-21 19:24:34.311 32240-32240/? E/FirebaseInstanceId: Failed to start service while in background: java.lang.IllegalStateException: Not allowed to start service Intent { act=com.google.firebase.INSTANCE_ID_EVENT pkg=com.facebook.orca cmp=com.facebook.orca/com.facebook.push.fcm.FcmInstanceIDListenerService (has extras) }: app is in background uid UidRecord{c44bfd u0a246 TRNB idle change:uncached procs:1 proclist:32240, seq(0,0,0)}
Then again I get hundreds of other errors thrown at me upon running.
https://pastebin.com/TMsesZUX <- The full logcat
EDIT:
The error I get is:
Error: tools:replace specified at line:17 for attribute android:appComponentFactory, but no new value specified Android-Instagram-Clone-master-app main manifest (this file), line 16
SOLVED:
All I had to do was add
android:appComponentFactory="android.support.v4.app.CoreComponentFactory"
in the application tag in my AndroidManifest.xml
I'm getting an error java.lang.NullPointerException: "Initializing Java Tooling" soon as Eclipse IDE stated during
have tried:
Deleted existing work space and restarted the IDE
CheckOut latest code and delete the previous one
Created a new work space
Changed the current working space directory
Does it corrupt the existing code as well?
Any ideas how to solve this problem?
Im starting to use Android Studio and from then, I encountered this nuisance of an error: Error:Server returned HTTP response code: 403 for URL: https://services.gradle.org/distributions/gradle-3.3-all.zip
What I dont understand is that, why and what may be the cause of this error... Is there any work around on this? I have set this following lines in my gradle.properties file inside the Project (MyApplication3/gradle.properties)
systemProp.http.proxyHost=192.168.140.19
systemProp.http.proxyPort=3128
systemProp.http.proxyUser=userid
systemProp.http.proxyPassword=password
systemProp.http.nonProxyHosts=localhost
systemProp.https.proxyHost=192.168.140.19
systemProp.https.proxyPort=3128
systemProp.https.proxyUser=userid
systemProp.https.proxyPassword=password
systemProp.https.nonProxyHosts=localhost
My System Admin said that there is no proxy user and password set so i dont know what to put on the proxyuser and proxypassword fields...
I hope there is someone that could help me :( im getting frustrated at this
i am trying to connect my android app to AWS dynamoDB. I followed
http://docs.aws.amazon.com/mobile/sdkforandroid/developerguide/dynamodb_om.html
But when I try to run it I get:
09-15 16:12:12.290 24313-24313/com.example.jan.tracestest E/AndroidRuntime﹕ FATAL EXCEPTION: main
com.amazonaws.AmazonClientException: Unable to execute HTTP request: null
Caused by: java.io.IOException
at libcore.net.http.HttpURLConnectionImpl.connect(HttpURLConnectionImpl.java:87)
at libcore.net.http.HttpURLConnectionImpl.getOutputStream(HttpURLConnectionImpl.java:205)
at libcore.net.http.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:281)
For the last two days i went over it again and again but I don't get it. Does anyone have some hints?
thx
this is the exception object giving me no hints...
thx to Raymond Lin
I did try to run it on the main thread. Now i do it with a Asynctask and it works.