This is my manifest, it works fine in the official dashclock app but not in any other plugin host (i tested sidebar plus and a few similar apps). i always get the same error in logcat: caller is not official dashclock app and extension is not worldReadable.
<service
android:name=".DashClockService"
android:icon="#drawable/ic_dashclock"
android:label="#string/app_name"
android:permission="com.google.android.apps.dashclock.permission.READ_EXTENSION_DATA" >
<intent-filter>
<action android:name="com.google.android.apps.dashclock.Extension" />
</intent-filter>
<meta-data android:name="protocolVersion" android:value="2" />
<meta-data android:name="worldReadable" android:value="true" />
<meta-data android:name="description" android:value="#string/extension_description" />
<meta-data android:name="settingsActivity" android:value=".DashClockSettingsActivity" />
</service>
EDIT: Here is the log.
12-06 14:41:32.667: W/System.err(1735): java.lang.NullPointerException
12-06 14:41:32.683: W/System.err(1735): at com.google.android.apps.dashclock.api.DashClockExtension.publishUpdate(DashClockExtension.java:354)
12-06 14:41:32.683: W/System.err(1735): at com.myapp.DashClockService.update(DashClockService.java:126)
12-06 14:41:32.683: W/System.err(1735): at com.myapp.DashClockService.onCreate(DashClockService.java:41)
12-06 14:41:32.687: W/System.err(1735): at android.app.ActivityThread.handleCreateService(ActivityThread.java:2573)com.myapp12-06 14:41:32.687: W/System.err(1735): at android.app.ActivityThread.access$1700(ActivityThread.java:145)
12-06 14:41:32.687: W/System.err(1735): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1489)
12-06 14:41:32.687: W/System.err(1735): at android.os.Handler.dispatchMessage(Handler.java:102)
12-06 14:41:32.687: W/System.err(1735): at android.os.Looper.loop(Looper.java:137)
12-06 14:41:32.687: W/System.err(1735): at android.app.ActivityThread.main(ActivityThread.java:5062)
12-06 14:41:32.691: W/System.err(1735): at java.lang.reflect.Method.invokeNative(Native Method)
12-06 14:41:32.691: W/System.err(1735): at java.lang.reflect.Method.invoke(Method.java:515)
12-06 14:41:32.691: W/System.err(1735): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779)
12-06 14:41:32.691: W/System.err(1735): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595)
12-06 14:41:32.691: W/System.err(1735): at dalvik.system.NativeStart.main(Native Method)
12-06 14:41:32.953: E/DashClockExtension(1735): Caller is not official DashClock app and this extension is not world-readable.
12-06 14:41:32.960: W/Binder(1735): Caught a RuntimeException from the binder stub implementation.
12-06 14:41:32.960: W/Binder(1735): java.lang.SecurityException: Caller is not official DashClock app and this extension is not world-readable.
12-06 14:41:32.960: W/Binder(1735): at com.google.android.apps.dashclock.api.DashClockExtension$1.onInitialize(DashClockExtension.java:289)
12-06 14:41:32.960: W/Binder(1735): at com.google.android.apps.dashclock.api.internal.IExtension$Stub.onTransact(IExtension.java:52)
12-06 14:41:32.960: W/Binder(1735): at android.os.Binder.execTransact(Binder.java:404)
12-06 14:41:32.960: W/Binder(1735): at dalvik.system.NativeStart.run(Native Method)
To add some additional info:
The Extension shows up as available, but it won't update or initialize.
The service is running.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
I moved an Eclipse-based Android project from another machine to the machine that I am working with. I imported the project using Android Project from Existing Source. Everything is working well when I code but when I deploy it using emulators and phones, it's producing weird exceptions. What might be the problem?
I have attached the exceptions produced with the questions for information.
12-06 08:15:20.957: E/AndroidRuntime(767): FATAL EXCEPTION: main
12-06 08:15:20.957: E/AndroidRuntime(767): java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.innolabmm.discoverlioncity/com.innolabmm.discoverlioncity.FeedActivity}: java.lang.ClassNotFoundException: Didn't find class "com.innolabmm.discoverlioncity.FeedActivity" on path: /data/app/com.innolabmm.discoverlioncity-1.apk
12-06 08:15:20.957: E/AndroidRuntime(767): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2106)
12-06 08:15:20.957: E/AndroidRuntime(767): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2230)
12-06 08:15:20.957: E/AndroidRuntime(767): at android.app.ActivityThread.access$600(ActivityThread.java:141)
12-06 08:15:20.957: E/AndroidRuntime(767): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1234)
12-06 08:15:20.957: E/AndroidRuntime(767): at android.os.Handler.dispatchMessage(Handler.java:99)
12-06 08:15:20.957: E/AndroidRuntime(767): at android.os.Looper.loop(Looper.java:137)
12-06 08:15:20.957: E/AndroidRuntime(767): at android.app.ActivityThread.main(ActivityThread.java:5041)
12-06 08:15:20.957: E/AndroidRuntime(767): at java.lang.reflect.Method.invokeNative(Native Method)
12-06 08:15:20.957: E/AndroidRuntime(767): at java.lang.reflect.Method.invoke(Method.java:511)
12-06 08:15:20.957: E/AndroidRuntime(767): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)
12-06 08:15:20.957: E/AndroidRuntime(767): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560)
12-06 08:15:20.957: E/AndroidRuntime(767): at dalvik.system.NativeStart.main(Native Method)
12-06 08:15:20.957: E/AndroidRuntime(767): Caused by: java.lang.ClassNotFoundException: Didn't find class "com.innolabmm.discoverlioncity.FeedActivity" on path: /data/app/com.innolabmm.discoverlioncity-1.apk
12-06 08:15:20.957: E/AndroidRuntime(767): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:65)
12-06 08:15:20.957: E/AndroidRuntime(767): at java.lang.ClassLoader.loadClass(ClassLoader.java:501)
12-06 08:15:20.957: E/AndroidRuntime(767): at java.lang.ClassLoader.loadClass(ClassLoader.java:461)
12-06 08:15:20.957: E/AndroidRuntime(767): at android.app.Instrumentation.newActivity(Instrumentation.java:1054)
12-06 08:15:20.957: E/AndroidRuntime(767): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2097)
12-06 08:15:20.957: E/AndroidRuntime(767): ... 11 more
Try this:
Go to Project/Properties/Java Build Path/Order and Export -- Make sure there's a check in front of Android Dependencies and the support library, if you use it.Mark all checkboxes and Click on Apply and clean the project.
Hope this helps.
When I run a project created using forcedroid, I am getting following error in logcat of my ADT.
12-06 05:57:48.176: D/HttpAccess:constructor(833): User-Agent string: SalesforceMobileSDK/2.1.0 android mobile/4.2.2 (sdk) moapp/1.0 Hybrid
12-06 05:57:48.876: I/SalesforceDroidGapActivity.onCreate(833): onCreate called
12-06 05:57:49.026: I/ClientManager:peekRestClient(833): No user account found
12-06 05:57:49.026: I/ClientManager:peekRestClient(833): com.salesforce.androidsdk.rest.ClientManager$AccountInfoNotFoundException: No user account found
12-06 05:57:49.026: I/ClientManager:peekRestClient(833): at com.salesforce.androidsdk.rest.ClientManager.peekRestClient(ClientManager.java:140)
12-06 05:57:49.026: I/ClientManager:peekRestClient(833): at com.salesforce.androidsdk.ui.sfhybrid.SalesforceDroidGapActivity.onCreate(SalesforceDroidGapActivity.java:118)
12-06 05:57:49.026: I/ClientManager:peekRestClient(833): at android.app.Activity.performCreate(Activity.java:5104)
12-06 05:57:49.026: I/ClientManager:peekRestClient(833): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1080)
12-06 05:57:49.026: I/ClientManager:peekRestClient(833): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2144)
12-06 05:57:49.026: I/ClientManager:peekRestClient(833): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2230)
12-06 05:57:49.026: I/ClientManager:peekRestClient(833): at android.app.ActivityThread.access$600(ActivityThread.java:141)
12-06 05:57:49.026: I/ClientManager:peekRestClient(833): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1234)
12-06 05:57:49.026: I/ClientManager:peekRestClient(833): at android.os.Handler.dispatchMessage(Handler.java:99)
12-06 05:57:49.026: I/ClientManager:peekRestClient(833): at android.os.Looper.loop(Looper.java:137)
12-06 05:57:49.026: I/ClientManager:peekRestClient(833): at android.app.ActivityThread.main(ActivityThread.java:5041)
12-06 05:57:49.026: I/ClientManager:peekRestClient(833): at java.lang.reflect.Method.invokeNative(Native Method)
12-06 05:57:49.026: I/ClientManager:peekRestClient(833): at java.lang.reflect.Method.invoke(Method.java:511)
12-06 05:57:49.026: I/ClientManager:peekRestClient(833): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)
12-06 05:57:49.026: I/ClientManager:peekRestClient(833): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560)
12-06 05:57:49.026: I/ClientManager:peekRestClient(833): at dalvik.system.NativeStart.main(Native Method)
12-06 05:57:49.146: D/dalvikvm(833): GC_CONCURRENT freed 279K, 13% free 2623K/3004K, paused 27ms+24ms, total 192ms
12-06 05:57:49.296: I/SalesforceDroidGapActivity.onResumeNotLoggedIn(833): Should authenticate / online - authenticating
12-06 05:57:49.296: I/SalesforceDroidGapActivity.authenticate(833): authenticate called
12-06 05:57:49.296: I/ClientManager:getRestClient(833): No account of type com.salesforce.androisdk found
12-06 05:57:49.936: D/gralloc_goldfish(833): Emulator without GPU emulation detected.
12-06 05:57:50.096: E/Trace(857): error opening trace file: No such file or directory (2)
12-06 05:57:51.318: D/HttpAccess:constructor(857): User-Agent string: SalesforceMobileSDK/2.1.0 android mobile/4.2.2 (sdk) mobilapp/1.0 Hybrid
12-06 05:58:09.306: D/LockChecker:run(833): isLocked:true elapsedSinceLastActivity:20 timeout:0
My json.config file looks like this
{
"remoteAccessConsumerKey": "3MVG9Iu66FKeHhINkB1l7xt7kR8czFcCTUhgoA8Ol2Ltf1eYHOU4SqQRSEitYFDUpqRWcoQ2.dBv_a1Dyu5xa",
"oauthRedirectURI": "testsfdc:///mobilesdk/detect/oauth/done",
"oauthScopes": ["web", "api"],
"isLocal": false,
"startPage": "helloWorld",
"errorPage": "error.html",
"shouldAuthenticate": true,
"attemptOfflineLoad": false,
"androidPushNotificationClientId": ""
}
Please help me to resolve this error
I had the same problem. You need to set manifestmerger.enabled=true in your project.properties in order to merge the manifest file from salesforceSDK.
The AuthenticatorService from that manifest fixes the problem.
ACRA loging works fine on my Galaxy S2. I can see reports in GoogleDoc.
Problem is that a log ACRA sends doesn't really have error causing crash.
Example:
What I have in GoogleDoc:
12-06 17:59:03.605 D/CLIPBOARD(10745): Hide Clipboard dialog at Starting input: finished by someone else... !
12-06 17:59:05.380 D/AndroidRuntime(10745): Shutting down VM
12-06 17:59:05.380 W/dalvikvm(10745): threadid=1: thread exiting with uncaught exception (group=0x4001e578)
12-06 17:59:05.380 E/ACRA (10745): ACRA caught a NoSuchMethodError exception for ru.ptl.guidenavigator. Building report.
12-06 17:59:05.545 D/dalvikvm(10745): GC_CONCURRENT freed 278K, 52% free 2762K/5639K, external 123K/513K, paused 2ms+2ms
12-06 17:59:05.725 D/dalvikvm(10745): GC_CONCURRENT freed 399K, 52% free 2839K/5895K, external 123K/513K, paused 1ms+3ms
12-06 17:59:05.790 I/ACRA (10745): READ_LOGS granted! ACRA can include LogCat and DropBox data.
12-06 17:59:05.800 D/ACRA (10745): Retrieving logcat output...
and here is full report:
12-06 17:59:05.545: D/dalvikvm(10745): GC_CONCURRENT freed 278K, 52% free 2762K/5639K, external 123K/513K, paused 2ms+2ms
12-06 17:59:05.725: D/dalvikvm(10745): GC_CONCURRENT freed 399K, 52% free 2839K/5895K, external 123K/513K, paused 1ms+3ms
12-06 17:59:05.790: I/ACRA(10745): READ_LOGS granted! ACRA can include LogCat and DropBox data.
12-06 17:59:05.800: D/ACRA(10745): Retrieving logcat output...
12-06 17:59:06.185: D/ACRA(10745): Writing crash report file 1354816746000.stacktrace.
12-06 17:59:06.195: D/ACRA(10745): About to start ReportSenderWorker from #handleException
12-06 17:59:06.195: D/ACRA(10745): Mark all pending reports as approved.
12-06 17:59:06.195: D/ACRA(10745): Looking for error files in /data/data/ru.ptl.guidenavigator/files
12-06 17:59:06.200: D/ACRA(10745): #checkAndSendReports - start
12-06 17:59:06.200: D/ACRA(10745): Looking for error files in /data/data/ru.ptl.guidenavigator/files
12-06 17:59:06.200: I/ACRA(10745): Sending file 1354816746000-approved.stacktrace
12-06 17:59:06.205: D/ACRA(10745): Waiting for Toast + worker...
12-06 17:59:06.240: D/ACRA(10745): Sending report 2847a23e-569b-400a-9808-2bb5fe08c657
12-06 17:59:06.255: D/dalvikvm(10745): GC_CONCURRENT freed 508K, 53% free 2832K/5959K, external 123K/513K, paused 1ms+3ms
12-06 17:59:06.300: D/dalvikvm(10745): GC_FOR_MALLOC freed 230K, 54% free 2788K/5959K, external 123K/513K, paused 16ms
12-06 17:59:07.295: D/dalvikvm(10745): GC_CONCURRENT freed 430K, 53% free 2841K/5959K, external 123K/513K, paused 7ms+3ms
12-06 17:59:09.455: D/ACRA(10745): #checkAndSendReports - finish
12-06 17:59:09.515: D/ACRA(10745): Wait for Toast + worker ended. Kill Application ? true
12-06 17:59:09.515: E/ACRA(10745): ru.ptl.guidenavigator fatal error : android.widget.Button.addChildrenForAccessibility
12-06 17:59:09.515: E/ACRA(10745): java.lang.NoSuchMethodError: android.widget.Button.addChildrenForAccessibility
12-06 17:59:09.515: E/ACRA(10745): at ru.ptl.guidenavigator.DownloadActivity.onClick(DownloadActivity.java:68)
12-06 17:59:09.515: E/ACRA(10745): at android.view.View.performClick(View.java:2538)
12-06 17:59:09.515: E/ACRA(10745): at android.view.View$PerformClick.run(View.java:9152)
12-06 17:59:09.515: E/ACRA(10745): at android.os.Handler.handleCallback(Handler.java:587)
12-06 17:59:09.515: E/ACRA(10745): at android.os.Handler.dispatchMessage(Handler.java:92)
12-06 17:59:09.515: E/ACRA(10745): at android.os.Looper.loop(Looper.java:130)
12-06 17:59:09.515: E/ACRA(10745): at android.app.ActivityThread.main(ActivityThread.java:3691)
12-06 17:59:09.515: E/ACRA(10745): at java.lang.reflect.Method.invokeNative(Native Method)
12-06 17:59:09.515: E/ACRA(10745): at java.lang.reflect.Method.invoke(Method.java:507)
12-06 17:59:09.515: E/ACRA(10745): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:907)
12-06 17:59:09.515: E/ACRA(10745): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:665)
12-06 17:59:09.515: E/ACRA(10745): at dalvik.system.NativeStart.main(Native Method)
12-06 17:59:09.520: I/Process(10745): Sending signal. PID: 10745 SIG: 9
So the last message acra get is on 12-06 17:59:05.800
But error java.lang.NoSuchMethodError posted on 12-06 17:59:09.515
Any ideas how to fix it?
It's an implementation choice.
Check the STACK_TRACE field and you will get a readable stack trace (including the error you are looking for).
https://github.com/ACRA/acra/issues/67
i am using ImageMagick in my project, I get it from guthub. After editing some code from there, when I compile this I am getting this error:
12-06 11:26:08.976: E/AndroidRuntime(1800): java.lang.ExceptionInInitializerError
on this line of code:
final MagickImage img = new MagickImage(new ImageInfo("/sdcard/image.jpeg"));
And this error:
12-06 11:26:08.976: E/AndroidRuntime(1800): Caused by: java.lang.UnsatisfiedLinkError: init
on this line of code:
System.loadLibrary("android-magick");
This is the logcat:
12-06 14:29:40.566: E/AndroidRuntime(4095): FATAL EXCEPTION: main
12-06 14:29:40.566: E/AndroidRuntime(4095): java.lang.ExceptionInInitializerError
12-06 14:29:40.566: E/AndroidRuntime(4095):at com.colors.photo.magic.AndroidMagickActivity.onCreate(AndroidMagickActivity.java:33)
12-06 14:29:40.566: E/AndroidRuntime(4095):at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
12-06 14:29:40.566: E/AndroidRuntime(4095):at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2627)
12-06 14:29:40.566: E/AndroidRuntime(4095):at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2679)
12-06 14:29:40.566: E/AndroidRuntime(4095):at android.app.ActivityThread.access$2300(ActivityThread.java:125)
12-06 14:29:40.566: E/AndroidRuntime(4095):at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2033)
12-06 14:29:40.566: E/AndroidRuntime(4095):at android.os.Handler.dispatchMessage(Handler.java:99)
12-06 14:29:40.566: E/AndroidRuntime(4095):at android.os.Looper.loop(Looper.java:123)
12-06 14:29:40.566: E/AndroidRuntime(4095):at android.app.ActivityThread.main(ActivityThread.java:4627)
12-06 14:29:40.566: E/AndroidRuntime(4095):at java.lang.reflect.Method.invokeNative(Native Method)
12-06 14:29:40.566: E/AndroidRuntime(4095):at java.lang.reflect.Method.invoke(Method.java:521)
12-06 14:29:40.566: E/AndroidRuntime(4095):at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
12-06 14:29:40.566: E/AndroidRuntime(4095):at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
12-06 14:29:40.566: E/AndroidRuntime(4095):at dalvik.system.NativeStart.main(Native Method)
12-06 14:29:40.566: E/AndroidRuntime(4095): Caused by: java.lang.UnsatisfiedLinkError: init
12-06 14:29:40.566: E/AndroidRuntime(4095):at com.colors.photo.magic.Magick.init(Native Method)
12-06 14:29:40.566: E/AndroidRuntime(4095):at com.colors.photo.magic.Magick. <clinit>(Magick.java:37)
12-06 14:29:40.566: E/AndroidRuntime(4095): ... 14 more
Seems that native library was not found. Check your build environment. Of course you will need library compiled for proper CPU
I am getting the bellow error while running. I created the map-key also.
ERROR MSG:
12-06 13:07:02.230: E/AndroidRuntime(527): Uncaught handler: thread main exiting due to uncaught exception
12-06 13:07:02.249: E/AndroidRuntime(527): java.lang.IllegalAccessError: cross-loader access from pre-verified class
12-06 13:07:02.249: E/AndroidRuntime(527): at dalvik.system.DexFile.defineClass(Native Method)
12-06 13:07:02.249: E/AndroidRuntime(527): at dalvik.system.DexFile.loadClass(DexFile.java:193)
12-06 13:07:02.249: E/AndroidRuntime(527): at dalvik.system.PathClassLoader.findClass(PathClassLoader.java:203)
12-06 13:07:02.249: E/AndroidRuntime(527): at java.lang.ClassLoader.loadClass(ClassLoader.java:573)
12-06 13:07:02.249: E/AndroidRuntime(527): at java.lang.ClassLoader.loadClass(ClassLoader.java:532)
12-06 13:07:02.249: E/AndroidRuntime(527): at android.app.Instrumentation.newActivity(Instrumentation.java:1097)
12-06 13:07:02.249: E/AndroidRuntime(527): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2316)
12-06 13:07:02.249: E/AndroidRuntime(527): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2417)
12-06 13:07:02.249: E/AndroidRuntime(527): at android.app.ActivityThread.access$2100(ActivityThread.java:116)
12-06 13:07:02.249: E/AndroidRuntime(527): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1794)
12-06 13:07:02.249: E/AndroidRuntime(527): at android.os.Handler.dispatchMessage(Handler.java:99)
12-06 13:07:02.249: E/AndroidRuntime(527): at android.os.Looper.loop(Looper.java:123)
12-06 13:07:02.249: E/AndroidRuntime(527): at android.app.ActivityThread.main(ActivityThread.java:4203)
12-06 13:07:02.249: E/AndroidRuntime(527): at java.lang.reflect.Method.invokeNative(Native Method)
12-06 13:07:02.249: E/AndroidRuntime(527): at java.lang.reflect.Method.invoke(Method.java:521)
12-06 13:07:02.249: E/AndroidRuntime(527): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:791)
12-06 13:07:02.249: E/AndroidRuntime(527): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:549)
12-06 13:07:02.249: E/AndroidRuntime(527): at dalvik.system.NativeStart.main(Native Method)
This is good Example of Map
And i think this is right a way to get key ::
To get certificate fingerprint (MD5) follow the simple steps below:
You need to get the keystore file for getting the certificate fingerprint (MD5).
Your keystore file can be found at the following path
"C:\Documents and Settings\\Local Settings\Application Data\Android"
(Or)
"C:\Documents and Settings\.android"
Keystore file name is "debug.keystore" file.
Copy the "debug.keystore" file to some other folder (ex: - "D:\Androidkeystore\") (its user friendly to use).
Open command Prompt and go to the Java installed directory. ("C:\Program Files\Java\\bin")
Then type the below line (given in box) and press enter.
keytool.exe -list -alias androiddebugkey -keystore "D:\AndroidKeystore\debug.keystore" -storepass android -keypass android
Here the MD5 certificate fingerprint is "64:88:A2:FC:AA:9F:B1:B0:CA:E4:D0:24:A8:1E:77:FB"
this is working actually........but im getting small error here
this is my path-C:\ANDROID\Java\jdk1.6.0\bin>keytool.exe -list -alias androiddebugkey -keystore"C:\ANDROID\debugkey\debug.keystore"-storepass android -keypass android
keytool error: java.lang.RuntimeException: Usage error, android is not a legal c
ommand
and finally i have solve from here ::
For more ..
as you got fingerprints copy it and past in Sign Up page. you got a key successfully
Ifyour key is correct, it might be a missing <uses-library android:name="com.google.android.maps" /> in the manifest. You have to add this line in the application tag before defining the activitys.
make sure that you are using debug key not release key.