Google Play services missing or without correct permission - java

currently I am doing the user registration class by using Firebase authentication. However, the logcat showed this error. May I know how to solve this? I have install google play services in SDK tools and added in manifest file. Thank you:)
error1: load_driver(/vendor/lib/egl/libGLES_emulation.so): dlopen failed: library "/vendor/lib/egl/libGLES_emulation.so"
error2: Google Play services missing or without correct permission.
Error3: tid 3325: eglSurfaceAttrib(1354): error 0x3009 (EGL_BAD_MATCH)
Editted: those problem arised due to the emulator, but as long as you installed google play service on the emulator, the problem will solve

Try running it on a real device, emulator tends to cause errors.

Related

Security Exception: android.permission.INTERACT_ACROSS_USERS

Just faced this exception under my application PID in the Android Monitor, while not doing anything special. First time I'm seeing such thing, any explanation/docs? Thanks
java.lang.SecurityException: Permission Denial:
broadcast from android asks to run as user -1 but is calling from user 0;
this requires android.permission.INTERACT_ACROSS_USERS_FULL or
android.permission.INTERACT_ACROSS_USERS
One of the possible solutions is to disable auto-fill, but it works only on Android Oreo. Check this link Disabling Android O auto-fill service for an application

400 bad request while deploying to app engine

While deploying to app engine, I got this error message:
400 Bad Request
Creating an index failed for entity_type:
"GeoLocationStat"ancestor: falseProperty { name: "ZoomLevel"}
Property { name: "GeoPt" mode: 3}:
Permission denied for creating a search index
Does anyone have any idea?
Well, apparently GeoPt and ZoomLevel datatypes were NOT the cause.
The root cause of this error message is Eclipse is unable to update datastore-indexes-auto.xml in WEB-INF\appengine-generated folder.
I delete the file and the deployment proceed just fine. :)
According to issue11963#c14 on the app engine issue tracker:
Geo-spatial queries are a new feature currently under development, and
expected to launch as Alpha sometime soon. When it does launch, it
will be for a limited group of apps; during Alpha, only those apps
will have "permission" to use it, which is why you're seeing this
confusing error message now...the SDK development server does
currently support the feature. So it works locally, but not in
production.

AdbCommandRejectedException in Android Studio

I'm trying to run a project in Android Studio and I keep getting this weird error.
PropertyFetcher: AdbCommandRejectedException getting properties for device 3004a4ebc1303100: device offline
PropertyFetcher: AdbCommandRejectedException getting properties for device 3004a4ebc1303100: device unauthorized.
This adbd's $ADB_VENDOR_KEYS is not set; try 'adb kill-server' if that seems wrong. Otherwise check for a confirmation dialog on your device.
have you checked in DDMS perspective that your device is showing online?
Try Resetting adb from the DDMS

IllegalStateException: OrcaSharedPreferences used before initialized when calling openActiveSession on Facebook SDK 3.5

I've upgraded facebook SDK from 3.0 to 3.5. Testing on my devices was fine but I got these crash reports:
java.lang.IllegalStateException: OrcaSharedPreferences used before initialized
1at android.os.Parcel.readException(Parcel.java:1433)
2at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:188)
3at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:140)
4at android.content.ContentProviderProxy.query(ContentProviderNative.java:366)
5at android.content.ContentResolver.query(ContentResolver.java:370)
6at android.content.ContentResolver.query(ContentResolver.java:313)
7at com.facebook.Settings.getAttributionId(SourceFile:418)
8at com.facebook.AppEventsLogger.getSessionEventsState(SourceFile:684)
9at com.facebook.AppEventsLogger.logEvent(SourceFile:645)
10at com.facebook.AppEventsLogger.logEvent(SourceFile:641)
11at com.facebook.AppEventsLogger.logSdkEvent(SourceFile:537)
12at com.facebook.Session.logAuthorizationStart(SourceFile:1110)
13at com.facebook.Session.authorize(SourceFile:915)
14at com.facebook.Session.open(SourceFile:995)
15at com.facebook.Session.openForRead(SourceFile:388)
16at com.facebook.Session.openActiveSession(SourceFile:891)
17at com.facebook.Session.openActiveSession(SourceFile:830)
This happens when a user tries to log in to the app using facebook.
I read in: java.lang.IllegalStateException: Orca SharedPreferences used before initialized
That it might be a case where the user doesn't have facebook app installed on his phone, but I also tested this scenario on my phone and it just opens facebook web view for logging in as it should.
It sucks to upgrade an SDK to find new crashes on code that worked just fine. What can be the cause?
Thanks!
We got this as well by force stopping the Facebook app before launching our app (also on FB SDK 3.5)

Getting Permission Denied on using app engine

Using eclispe Helios with Google app plugin.
I am learning to use google app engine and was trying to make guestbook as provided in demo.
when ran it as Web Application i got the following error:
May 3, 2011 3:16:59 PM com.google.appengine.tools.info.RemoteVersionFactory getVersion
INFO: Unable to access https://appengine.google.com/api/updatecheck?runtime=java&release=1.4.0&timestamp=1291156877&api_versions=['1.0']
java.net.SocketException: Permission denied: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)**
Please provide me with a solution.
Its because appengine is not able to check for updates, That is you should configure network settings in eclipse to use internet for update. But i don't think that should stop you from running your application. To know more about network configuration in eclipse you can have a look here.If you are behind proxy make sure that you are giving your proxy ip address and username, password if required
Solution: create a file whit name: .appcfg_no_nag
in the user path System.getProperty("user.home")
For this you can use the command "rename" :
C:\Users\tony>rename some_fyle.txt .appcfg_no_nag
This disabled the checkUpdate !

Categories

Resources