1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Java Eclipse

Discussion in 'BlackHat Lounge' started by ravid32, Feb 22, 2014.

  1. ravid32

    ravid32 Power Member

    Joined:
    Jul 28, 2012
    Messages:
    540
    Likes Received:
    87
    Does anyone use Java Eclips to build android apps. I have a question about emulator not starting when I click on run. I would really appreciate some help.
     
  2. solventnine

    solventnine Junior Member

    Joined:
    Dec 4, 2009
    Messages:
    113
    Likes Received:
    16
    A friend of mine has been building apps for a couple months. He used to use Eclipse and now uses Android Studio.

    As you didn't really specify the question, I can only guess at an answer. Posting your logs here would help.

    A quick search engine check showed a couple possibilities for the emulator not starting:

    1. You may have insufficient memory (you might be able to offset this by checking the "Use Host GPU" in the Emulation Options when creating a new emulator)
    2. You might check for multiple instances of the emulator running (this would be an issue if you were running out of memory as above)
    3. It's possible Eclipse is looking for a USB-connected device instead of starting an emulator
    Of course it could be something else, too, but without logs (please use CODE brackets) or any sort of error message, I can't even begin to debug what's going on.

    Also, that search took me less time than writing this response...
     
  3. DanTe_0101

    DanTe_0101 Senior Member

    Joined:
    Mar 2, 2012
    Messages:
    863
    Likes Received:
    706
    Location:
    Fucksville
    Not sure about about Java Eclipse but I used Google appinventor and when I try to run the emulator from there it takes time to load(upto 20 mins for the first time).
    You using Ubuntu?

    Also I am starting with Java Eclipse looking forward to learn to Android apps.
     
  4. MINION007

    MINION007 Newbie

    Joined:
    Feb 22, 2014
    Messages:
    22
    Likes Received:
    3
    Occupation:
    Technical Officer @ My Own Firm
    Location:
    Minion House
    I am using Eclipse to create android apps , Can i help you with anything ?
     
  5. ravid32

    ravid32 Power Member

    Joined:
    Jul 28, 2012
    Messages:
    540
    Likes Received:
    87
    log:

    [2014-02-22 09:43:32 - jj] ------------------------------
    [2014-02-22 09:43:32 - jj] Android Launch!
    [2014-02-22 09:43:32 - jj] adb is running normally.
    [2014-02-22 09:43:32 - jj] Performing com.example.jj.MainActivity activity launch
    [2014-02-22 09:43:32 - jj] Failed to find an AVD compatible with target 'Android 4.4.2'.
    [2014-02-22 09:43:34 - jj] Performing com.example.jj.MainActivity activity launch
    [2014-02-22 09:43:36 - jj] Launch canceled
     
  6. ravid32

    ravid32 Power Member

    Joined:
    Jul 28, 2012
    Messages:
    540
    Likes Received:
    87
    I think the problem is adb program. Do I need to have an android device connected to use the emulator?
     
  7. lbazso

    lbazso Regular Member

    Joined:
    Jan 14, 2012
    Messages:
    212
    Likes Received:
    98
    Location:
    Europe
    No, you don't need one to be connected. BUT! Much better to have one, I got an android phone for $50 for testing purposes. I never had enough luck to run the emulator, it sucks to be honest. You have to sign some memory to the emulator before you first run it, otherwise it won't run. If I put a lots of memory it doesn't run, if I put less it doesn't run either.
    You can also download BLUESTACKS, it works well and you can just double click on the .apk file once you have it and it will install it for you inside their emulator. Hope it helps a bit!

    Oh, btw...if you need a reliable advertising company, (if you wanna make money too with your apps) then let me know. I am using one since 2013 and I am very happy with them. On time payments, every time. PM me. :)
     
  8. ravid32

    ravid32 Power Member

    Joined:
    Jul 28, 2012
    Messages:
    540
    Likes Received:
    87
    Emulator won't start with App Inventor or Eclipse. I'm using windows 8. I get an error message on both programs.
     
  9. Junkfood00

    Junkfood00 Elite Member

    Joined:
    Sep 13, 2011
    Messages:
    1,949
    Likes Received:
    1,336
    I rarely use the emulator since I got an Android device. Are you sure you have the latest sdk's? It seems that you're targeting an sdk that doesn't exist or the emulator does not have the right sdk configuration.
     
  10. Apricot

    Apricot Administrator Staff Member Moderator

    Joined:
    Mar 26, 2013
    Messages:
    11,968
    Likes Received:
    6,455
    Gender:
    Female
    Occupation:
    BHW Moderator
    Location:
    London
    Home Page:
    It says ALL isn't compatible, can you post your settings for it?