I want to use Fabric/Crashlytics with ADT / Eclipse - android

I have not migrated my project to Android Studio yet, but I still want to use Fabric/Crashlytics to manage crashes of my app. I am using the Android Developer Tools (ADT) 23.
I tried the Fabrics eclipse plugin and it installs and starts fine. Then I login and the plugin presents a "Select kit to install" dialog. But the buttons are inactive and they only say "checkin...". After a few seconds I am getting the login screen again. I tried a few times it doesnt work that way, since the eclipse plugin is discontinued i guess i can not hope for any support.
So is there a way to download an sdk or a java lib somewhere and perform all the necessary steps myself?
Here is a step by step to do it manually and it seems easy, if your setup has gradle support:
https://www.fabric.io/kits/android/crashlytics/install
But I dont have Android Studio, so the build.gradle is no good to me.
I added a few SDKs and libraries of other companies to my project and I never had so many problems like this.
Maybe someone can aid me to the right path?

Related

Using selective APIs from Google Play Services in Eclipse

In my project I am integrating push notification for that I require classes from com.google.android.gms package.
Is it possible for me to include selected package from whole library?
I am using eclipse. actually there are lot more libraries required, due to which I am facing 65k multidex issue. Any solution?
If you really really want to use the Eclipse to compile this, you need to perform these steps:
Have someone with Android studio include your needed Google components as dependency.
Kidnap the components from exploded-aar Android studio folder and setup the components as your own Eclipse library.
But of course, this is highly not a recommended procedure, but this is for those people who desperately needs it as last resort. This also marks a disclaimer that the kidnapped libraries are already free from the developer's accountability, because you didn't compile it the right way.
PS. Did this with Google Maps
If you want to use selective components of the Google Play Services you will need to switch to Android studio.
Read this: (Source)
Important: Support for the Android Developer Tools (ADT) in Eclipse
has ended, per our announcement. You should migrate your app
development projects to Android Studio as soon as possible. For more
information on transitioning to Android Studio, see Migrating from
Eclipse ADT.
If you still want to continue using eclipse, you'll have to to the hard work yourself - of deleting the unwanted packages/components from the full source code and making sure it compiles and works fine.
Instructions of setting up selective APIs can be found on this page, for android studio. For Eclipse, as the documentation says nothing about setting up selective APIs, you just have to go with the whole set.
NO. you have to migrate your code to Android Studio.

How to install new Android Studio extensions to IntelliJ IDEA

Is it possible at the moment to add the Android Studio extensions to a current IntelliJ IDEA installation?
Xavier Ducrohet and Tor Norbye mentioned in their talk, that Android Studio is an extension to the Community Edition of IntelliJ IDEA and that it's not a fork. So it should be possible to add the extension.
Is there an easy way to do so and probably to revert?
They also mentioned in their talk, that Android Studio uses Gradle as default build system. This should break the builds of current modules. Is this correct?
Thanks for the answers, but I finally found the corresponding statement by JetBrains: http://blog.jetbrains.com/blog/2013/05/15/intellij-idea-is-the-base-for-android-studio-the-new-ide-for-android-developers/
You can upgrade by hitting help -> Checking for updates and then choose Early Access Program as channel in the Update settings. You should receive a notification, that version 13 is available.
This EAP version contains almost all Android Studio features except the new Project Wizard and the App Engine Cloud Endpoints, but they will come soon. The reason for the delay is the Google IO, in the future new Android Studio and IntelliJ versions will be synced (mentioned in the comments of the blog post).
I guess it will be at androidstudio but the project is currently empty.
The installation page is here: Android Studio.
From what I understand in the download page & from what they said in the conference, it's a stand alone IDE based on the intelliJ, but i'm skeptical to whether one can get it as an extension to an already installed intelliJ IDEA.
About the build - in Migrating from Eclipse page they explain how to generate Gradle build files for your projects in Eclipse and then import those projects to Android Studio. It's pretty simple and straight forward.

failed to build project in eclipse with android after add blackberry

I install a blackberry developer plugin in my eclipse indigo that already installed by android. But after i installed the blackberry, my eclipse get an error. The error message is The building workspace has encountered a problem
Errors occurred during the build.
Errors running builder 'Java Builder' on project 'AMDP3'.
net/rim/ejde/external/sourceMapper/SourceMapperAccess
I think it's because my eclipse is confused because it tried to build an android project in the "blackberry way".
My questions are:
Can 1 eclipse contain android and blackberry plugins (i have searched and some say yes while some say no...so i tried to do it)
According to my 1st question, what should i do now?
Thanks
Answer : According to the chosen answer, i recommend you to install 2 different eclipse, but if it's to late just uninstall your BB plugin : CLICK HELP->ABOUT->INSTALLED SOFTWARE->UNINSTALL
While theoretically you can, I'd recommend against it.
I've had a couple of bad experiences where installing BB plugin in eclipse uninstalled some metrics plugin I have already installed. Since then, I tend to use separate eclipses for each platform. Never had this problem with Android plugin. I also refrain to upgrade old BB plugins installs to the newer version, because of compatibility issues.
I usually download the eclipse+BB plugin package available in BlackBerry Developers page, because it comes with the setup almost done, so I can save some time.
If you are going to do it, try to install the problematic one (BB) first, then the Android one.
If your question is: Can I run a single instance of Eclipse for both Android and BlackBerry development?
The answer is: Yes.
Not sure about your error though. In case it helps here's my list of installed software for my working version of Eclipse.

"App Engine Connected Android Project" not available

According to this guide by Google the "App Engine Connected Android Project"
should be available after installing/configuring ADT plugin for Eclipse, Android SDK and Google Plugin for Eclipse. I have installed everything in the most recent version in both Eclipse 3.7.2 (Indigo) and Eclipse 4.2 (Juno). However, I can't create such a project in any of the two Eclipse releases. Here are my installation details in Juno:
And here is a part of my Android SDK details:
My OS is Mac OS X 10.7.4
I know that I could see the menu point on 23/6/2012 before I updated the SDK tools to the most recent version.
Is anyone experiencing a similar issue or does anyone know what I configured the wrong way?
Thanks!
I just found a (I would say semi-official) statement from a Google employee here. It says, that the "App Engine Connected Android Project" has been removed in GPE v3.0.0. It would be possible to downgrade to the last version containing this menu item (2.6.1), which can be downloaded here.
The reason for the whole migration is, that "C2DM [is now] deprecated and [we] should be using GCM instead". Furthermore
The official docs [for using GCM] are on the way. In the meanwhile do sign up for the
endpoints trusted testers program at
http://endpoints-trusted-tester.appspot.com.
They also "plan to add [the menu item] again in the next version of GPE with GCM integrations" and they "plan to release the next version end of July".
Also, I got a similar answer form the Google employee Sparky R.:
I believe there is a known issue that the template for making
GAE-connected Android apps isn't working right now.
I don't know if it will be helpful, but i have managed to restore the Android SDK tools to rev 19 and Android SDK Platform-tools to rev 11, and installed the Google Plugin from scratch since i don't have the older version of it. It seems i still don't have the option in the menu, so i think it is about the Google Plugin.
In addition, Android Cloud to Device Messaging Framework - C2DM is deprecated since as of June 26, 2012 (https://developers.google.com/android/c2dm/). It may be about this deprecation, but it should be more clear in the near future.
I've been wasting a lot of time on this. I had the option in Eclipse 3.7, but now I've upgraded to 4.2 Juno and all the latest other stuff I can no longer see the 'App Engine Connected Android Project' option. I've had multiple attempts at installing, trying to make sure I get the order right. I've had major problems with trying to update from within Eclipse, and have had to resort to the various offline options. Not happy. How am I supposed to teach this technology when I can't even install it!
Tim
There is an example here, which he creates one of these projects:
http://bradabrams.com/2011/05/google-io-session-overview-android-app-engine-a-developers-dream-combination/
And you can checkout the code:
http://code.google.com/p/cloud-tasks-io/source/checkout
So I'm trying now to strip out what I don't need and get back to basically a new "Appengine Connected Android Project" I don't know how successful that'll be, as I don't know what I need or don't!
Annoying thing is, if this is do to with C2DM, I don't even want to use C2DM. I just want to invoke my app engine app from android, not send messages to android. Maybe I'm going along the wrong lines?
Edit
I got my project working (without messages to Android, just Android invoking methods and getting results) using these two examples:
How to call your app: Android REST client, Sample?
How to access a security enabled app: http://krasserm.blogspot.co.uk/2010/01/accessing-security-enabled-google-app.html
And this to work out how to do the http connection: http://developer.android.com/reference/java/net/HttpURLConnection.html
I'm on windows 7 and I'm also seeing this as well. This had been working for me, then I updated the Android SDK tools to rev 20 and Android SDK Platform-tools to rev 12 (both updated at the same time in the Android SDK Manager) after which I noticed this was not working. I was on Eclipse 3.7 but I upgraded to 4.2 to see if that helped (which I didn't). I then downloaded the Android 4.1 SDK stuff, but that didn't help either.
In addition to "App Engine Connected Android Project" not being ava
This feature is now available for me
Update your Android and App Engine SDKs, and you should be good to go!

Google Plugin not working for App Engine project - Eclipse Indigo - WindowsXP

I am trying to run through the cloud sync tutorial, and for some reason it's not importing Android into the project correctly. I tried to look at the problem again today and I noticed that there are updates for the Google and Android plugins. I upgraded, and now when I try to load the App Engine connected to Android project wizard, I see the following error:
The selected wizard could not be started.
Plug-in "com.google.gdt.eclipse.mobile.android" was unable to instantiate class
"com.google.gdt.eclipse.mobile.android.wizards.NewAndroidCloudProjectWizard".
com/android/io/StreamException
Is this a bug with the latest Google plugin?
I think everyone with the most recent GAE plugin is having the same problem. If you take a look at this thread, I think it's the same issue.
Long story short, the newest plugin doesn't seem to be compatible with the wizard, which may be because Google is waiting to update it to use GCM instead of C2DM.
That's what Google's saying here, and the solution they suggest in the meantime is to create an Android project by itself, right click and go to Google->Generate App Engine Backend... I had some errors when I did this myself, but it might give you some of what you need.

Categories

Resources