Java-Gaming.org Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (754)
Games in Android Showcase (229)
games submitted by our members
Games in WIP (842)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Can't figure out Android...  (Read 59627 times)
0 Members and 1 Guest are viewing this topic.
Offline matanui159

JGO Coder


Medals: 11
Projects: 1
Exp: 10-12 months


Aww... So cute...


« Posted 2014-10-15 11:35:24 »

I'm just completely stumped with this Android development stuff...

First off, the emulators don't seem to work... I have set one up and even set up HAXM (after alot of pain getting VT-x working...) but when I launch something as simple as the Android Wear, it just takes forever up to the point where I have given up waiting after a long time...

Second, I thought I might try running it on my Android... But I can't get it to Build... It tells me this:
1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
Error:A problem occurred configuring project ':mobile'.
> Could not resolve all dependencies for configuration ':mobile:_debugCompile'.
   > A problem occurred configuring project ':wear'.
      > Could not resolve all dependencies for configuration ':wear:_debugCompile'.
         > Could not find any version that matches com.google.android.support:wearable:+.
           Required by:
               MyApplication:wear:unspecified
         > Could not find any version that matches com.google.android.gms:play-services-wearable:+.
           Required by:
               MyApplication:wear:unspecified


I have these packages installed:
- Android SDK tools
- Android SDK platform-tools
- Android SDK build-tools
- Android 4.4w SDK platform and system images
- Android 4.4.2 SDK platform and system images
- Android support repository
- Android support library
- Google USB driver
- Intel x86 Emulator Accelerator (HAXM installer)

Can someone plz help me here? This is making my head hurt... Thx in advance...

EDIT: just to note out, I kept the AVD running and it is still launching with the shining Android logo

Is it sad that I still get a fright when the computer beeps at me...
Offline trollwarrior1
« Reply #1 - Posted 2014-10-15 11:41:13 »

You should try GenyMotion. Its really fast Android Emulator. (It is free for personal use)
Offline matanui159

JGO Coder


Medals: 11
Projects: 1
Exp: 10-12 months


Aww... So cute...


« Reply #2 - Posted 2014-10-15 11:47:23 »

I'll have a look at it... But can I easily use this through Android Studio? Also, if I wanted to, can I emulate Android wear, Android TV, etc.?

Is it sad that I still get a fright when the computer beeps at me...
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline matanui159

JGO Coder


Medals: 11
Projects: 1
Exp: 10-12 months


Aww... So cute...


« Reply #3 - Posted 2014-10-15 11:48:56 »

Just figured out the for some reason the Intel (apparently 'improved') ones don't seem to work but the other ones do...

Is it sad that I still get a fright when the computer beeps at me...
Offline matanui159

JGO Coder


Medals: 11
Projects: 1
Exp: 10-12 months


Aww... So cute...


« Reply #4 - Posted 2014-10-15 12:08:57 »

Nvm, got emulation working... didn't really know what was going wrong but it seems to be working now...

But why can't I build my project?

Is it sad that I still get a fright when the computer beeps at me...
Offline trollwarrior1
« Reply #5 - Posted 2014-10-15 13:13:22 »

Emulator has nothing to do with building your project.
Offline matanui159

JGO Coder


Medals: 11
Projects: 1
Exp: 10-12 months


Aww... So cute...


« Reply #6 - Posted 2014-10-15 22:48:14 »

Ik... But if you look at the post, I had two problems and one of them is fixed but I still can't figure out the other one...

Is it sad that I still get a fright when the computer beeps at me...
Offline strategy
« Reply #7 - Posted 2014-11-04 21:04:42 »

You've just butted your heard into the unfortunate new reality of Android development, which is that where it was once exceedingly simple to jump into (with Eclipse and Ant), the new world of Android Dev with Gradle and Android Studio is a terribly beginner-unfriendly construct.

Unless you want to build something that uses Wear, I would strongly recommend uninstalling that API, and just use the regular 5.0 API for development (alternatively API 19, but I've not noticed any problems with the 5.0 API yet, so I'd say it's OK).

Without seeing your build files, it's hard to say what you're doing wrong. I'd suggest cleaning out your SDK's to the exact ones you need, and then try over again with a freshly-generated project. If you're still having problems, I'd suggest going on Stackoverflow with them. You'll get a lot faster answers.

Also - never, ever use the emulators - they are practically useless. Use your own Android device(s) for testing.

Offline ags1

JGO Kernel


Medals: 364
Projects: 7


Make code not war!


« Reply #8 - Posted 2014-11-04 21:06:13 »

Ha ha, I can't figure out emulators either. I use AIDE and develop directly on my tablet.

Offline MontyOnTheRun
« Reply #9 - Posted 2014-11-16 13:45:36 »

Skip the emulator and use a real hardware, if possible.
You won't regret it.

If I feel the need, I tend to go with BlueStacks. Tried also HAXM, but the speed gain was marginal (but the speed loss on my OSX was noticiable)
Pages: [1]
  ignore  |  Print  
 
 

 
DesertCoockie (20 views)
2018-05-13 18:23:11

nelsongames (68 views)
2018-04-24 18:15:36

nelsongames (65 views)
2018-04-24 18:14:32

ivj94 (748 views)
2018-03-24 14:47:39

ivj94 (79 views)
2018-03-24 14:46:31

ivj94 (555 views)
2018-03-24 14:43:53

Solater (94 views)
2018-03-17 05:04:08

nelsongames (168 views)
2018-03-05 17:56:34

Gornova (338 views)
2018-03-02 22:15:33

buddyBro (998 views)
2018-02-28 16:59:18
Java Gaming Resources
by philfrei
2017-12-05 19:38:37

Java Gaming Resources
by philfrei
2017-12-05 19:37:39

Java Gaming Resources
by philfrei
2017-12-05 19:36:10

Java Gaming Resources
by philfrei
2017-12-05 19:33:10

List of Learning Resources
by elect
2017-03-13 14:05:44

List of Learning Resources
by elect
2017-03-13 14:04:45

SF/X Libraries
by philfrei
2017-03-02 08:45:19

SF/X Libraries
by philfrei
2017-03-02 08:44:05
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!