+ 2

When it comes to developping for Android, is Eclipse an option?

Can I write my java code in Eclipse and import it to Android Srudio without changing many stuff? I want to avoid using Android Studio cause it's very slow compared to Eclipse, and debugging is a pain in the neck...

5th Feb 2018, 4:45 PM
Robert Sokolov
Robert Sokolov - avatar
8 Answers
+ 4
Robby S, I ll suggest sticking with Android Studio itself , few days back I read few tips to speed up things there, #disable the unused plugins , like git, SVN, cloud support, terminal #dont open another heavy application with android studio #atleast 6gb ram is required if ur using emulator in android studio for testing , but I ll suggest 8gb or even better don't do testing in emulator but connect ur android phone to do testing ( emulator itself takes 2 GB ram and I had to order 4 GB of extra ram for my lappy coz it would hang badly) #more technical details here https://stackoverflow.com/questions/30817871/android-studio-is-slow-how-to-speed-up
5th Feb 2018, 6:22 PM
Morpheus
Morpheus - avatar
+ 4
@Martin, that's correct , as we don't just use studio , as for me there is a browser too ( and mine is chrome , another RAM gobbler from Google), music player in the background , I need atom editor too for some required stuffs , few terminals open , if I am also doing SVG drawings then inkscape opens too, now at this moment my 4 GB lappy would crash if I click on the Run option in Android studio. so I added a 2gb Ram from an old lappy , things were a bit better but emulator would still freeze things, so finally a new 4 GB ram made my problems go away , now even with all heavy tasks running I still have 20% memory left which is good. hence 4GB hangs badly, 6 GB just worked out, but 8 GB is highly appreciated
5th Feb 2018, 7:13 PM
Morpheus
Morpheus - avatar
+ 4
@Robby you can do basic java codes at eclipse, but it won't be easy to do codes associated with android APIs, moreover android studio has sophisticated build tools that takes care of lot of things for you, not to mention the design part ( XML design and string resources) is so easy with android studio, Also since android studio is built over the intellij IDE platform ( it's has many of its cool features). I ll suggest find a way to work ur mobile with USB with studio , Google the error message if stuck, I couldn't do the usb debugging myself coz my charging port in my phone is damaged and only does charging, hence I resorted to upgrading my RAM. You can also upgrade ur RAM if ur system allows it , it ll help in the long run too with many things šŸ‘
5th Feb 2018, 8:50 PM
Morpheus
Morpheus - avatar
+ 1
I think so, I did some research on that last week and looks possible, but confusing.
5th Feb 2018, 5:26 PM
Jacob Pembleton
Jacob Pembleton - avatar
+ 1
@Morpheus, My laptop is 4GB as well, I have tried plugging my phone and test the app from there, but I realized I had to install a driver or smth, and it couldn't find my phone, so that whole thing failed... My plan is the following: I write the code in Eclipse, cause the debugging in Android Studio will take a lot of time and nerves, after that I move to Android Studio and eventually finish the app from there... As when it comes for future testing in Android Studio, I guess I'll find a way to do it more easily...
5th Feb 2018, 8:32 PM
Robert Sokolov
Robert Sokolov - avatar