A Windows XP help forum. PCbanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » PCbanter forum » Microsoft Windows XP » General XP issues or comments
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Report: My first "hello world" using Android Studio freeware on Windows worked just fine (in about an hour)



 
 
Thread Tools Display Modes
  #91  
Old November 19th 18, 10:43 AM posted to comp.mobile.android,alt.comp.freeware,microsoft.public.windowsxp.general
Bill[_40_]
external usenet poster
 
Posts: 346
Default Report: My first "hello world" using Android Studio freeware on Windows worked just fine (in about an hour)

In message , arlen michael holder
writes

Bill - do the Google emulators go up to Android 8 for you?


Yes, they appear to go up to Android 8, and possibly 9.0. I haven't
actually tried to check they work, though.

No time for anything else at the moment ( babysitting and assisting with
vehicle movements etc.)
--
Bill

---
This email has been checked for viruses by AVG.
https://www.avg.com

Ads
  #92  
Old November 19th 18, 09:43 PM posted to comp.mobile.android,alt.comp.freeware,microsoft.public.windowsxp.general
arlen michael holder
external usenet poster
 
Posts: 48
Default Report: My first "hello world" using Android Studio freeware on Windows worked just fine (in about an hour)

On Mon, 19 Nov 2018 09:43:04 +0000, Bill wrote:

Yes, they appear to go up to Android 8, and possibly 9.0. I haven't
actually tried to check they work, though.


Thanks Bill for confirming that the Google emulators are modern.

For those on Windows/Android interested in emulation,
so as to give back to the team (as always), here is a
summary of what I've (accidentally) learned about
Android emulation on Windows using only free solutions.

C:\app\editor\android\emu\{...}
o Andyroid (Android 7.1.2, and very simple to set up)
o Arm (probably upo to Android 9, but too slow to be usable)
o Bluestacks (unknown Android version, but simple to set up)
o Genymotion (up to Android 9, but complex as heck to set up)
o Google (up to Android 9, but fails on older AMD)
o Microsoft (stops dead at Android 6, but works great on older AMD)

*Google Emulators* (Android 9)
o Google Emulators are the cat's meow, all the way to Android 9
o But they don't work on older AMD CPUs (on Windows only, apparently)
o One great thing about the Google emulators, is some have Google Play
o That allows people to run other software, e.g., NewPipe as one example
o Comes pre-integrated with Android Studio

*Arm Emulators* (Android 9?)
o They are too slow on my machine to be worth the trouble
o Most people suggest ARM eabi-v7a for older AMD CPUs it's slow
o Does not appear to come with Google Play (which is important)
o Comes pre-integrated with Android Studio

*Microsoft Emulators* (Last version, forever, is Android 6)
o The Microsoft Emulators are fantastic - but they stop at Android 6
o The Microsoft emulators don't appear to have Google Play installed
o They're the only emulators that work with Windows 10 Pro Hyper-V enabled!
o Very easy to integrate into Android Studio (as an external tool)
o https://visualstudio.microsoft.com/vs/msft-android-emulator/
o https://groups.google.com/forum/#!topic/comp.mobile.android/aW64zYeBtF0%5B1-25%5D

*Genymotion Emulator* (Android 9)
o Generally considered superior to all other emulators on Windows!
o Most complex to set up (if things fail) due to Win10 & VMWare needs
o Very well integrated into Android Studio (even has its own plugin)
o https://www.genymotion.com/fun-zone/
o https://groups.google.com/d/msg/comp.mobile.android/ix9empN-mxg/07ZmH2AWAQAJ

*Andyroid Emulator* (Android 7.1.2)
o This is very simple to set up (turn off Windows 10 Hyper-V!)
o This installs Bonjour and VMWare bundled "services"
o Comes with Google Play & F-Droid NewPipe came up, ran, but failed
o Android Studio recognized it instantly so it's nicely integrated
o https://www.andyroid.net/
o https://groups.google.com/d/msg/comp.mobile.android/FkZu5vAswYo/wISRtpUUAQAJ

*Bluestacks4 Emulator* (Android 7.1.1)
o This is very simple to set up (turn off Windows 10 Hyper-V!)
o They seem to be very focused on running Android games on Windows
o Comes with Google Play & successfully ran F-Droid NewPipe tests
o I need to learn how to integrate it into Android Studio
o https://www.bluestacks.com/bluestacks-4.html
o https://groups.google.com/forum/#!topic/comp.mobile.android/JBRjZ39w4Ok
  #93  
Old November 20th 18, 06:50 AM posted to comp.mobile.android,alt.comp.freeware,microsoft.public.windowsxp.general
arlen michael holder
external usenet poster
 
Posts: 48
Default Report: My first "hello world" using Android Studio freeware on Windows worked just fine (in about an hour)

On Mon, 19 Nov 2018 20:43:05 -0000 (UTC), arlen michael holder wrote:

For those on Windows/Android interested in emulation,
so as to give back to the team (as always), here is a
summary of what I've (accidentally) learned about
Android emulation on Windows using only free solutions.


Hi Bill,

Bad news (for me).

Since I needed Android 8 emulation to run the YouTube app (my phone is at
Android 7.0), I turned off Hyper-V to test Bluestacks4 (which turns out to
be stuck on Android 7.1.1) and Andryroid emulators (which turns out to be
stuck on Android 7.1.2).
o Phone is at 7.0
o Bluestacks4 is at 7.1.1
o Andyroid is at 7.1.2

So the _only_ tested emulators that _can_ emulate Android 8.0 a
o Arm (which is slow as a dog and didn't work for me on AMD)
o Google (which won't ever work on my AMD CPU)
o Genymotion (which has a very complex setup which didn't work for me)

So I decided to give up on Android 8 emulation (for now), and go back to
the Microsoft emulator (which at least worked up to Android 6, where my
phone covers Anroid 7).

Now I can't get the Microsoft Visual Studio Emulator to work no matter what
I try, even though I turned the Hyper-V Windows settings back on.
http://www.bild.me/bild.php?file=2132797hyper-v01.jpg

So I'm stuck not being able to emulate because the Microsoft Emulator,
which ran before I turned off Hyper-V, won't run now that it's turned back
on - but I'll get past it - but just wanted to report back why no progress
today (plus this is just done, as with Bill, in fits and starts).
http://www.bild.me/bild.php?file=6622132hyper-v02.jpg

In hindsight, once you have *any* emulator working, I'd stick with it if
you can, or, get Genymotion to work, which is the one emulator everyone
likes best (but I can't get it to work yet as it's also the most complex
setup).

Dunno yet which I will use as I may give up on Microsoft's emulator (even
though it _was_ working before I turned off Hyper-V and then turned it back
on), and put my time to getting Genymotion emulation to work instead (since
Microsoft's emulator stops at Android 6 while Genymotion goes to the
latest).

Seems to me, I certainly should be able to get Microsoft's emulator to work
again, but I'd _still_ be stuck at Android 6.0, with the phone only
bringing me to Android 7.0, so, the time to spend, in hindsight, is to get
Genymotion working on Windows.

In summary, for people reading this:
a. If you're on Windows on Intel, then the Android emulators should work,
b. But if you're on Windows on AMD, then the only good answer is Genymotion
(If you can get it to work.)
  #94  
Old November 21st 18, 11:27 AM posted to comp.mobile.android,alt.comp.freeware,microsoft.public.windowsxp.general
Bill[_40_]
external usenet poster
 
Posts: 346
Default Report: My first "hello world" using Android Studio freeware onWindows worked just fine (in about an hour)

While you are delving into emulators, I'm still doggedly debugging
Butterfield 4, with its mysql connector.

As I often say, I have a terrible memory, and often have to start again
trying to work out, or research from scratch, things that I have done in
the past. I do remember using OBDC with C++, but there seems to be
something basic about the use of JDBC that I am confused by.

Debugging line by line leads to a message

"W/System.err: java.sql.SQLException: Unable to connect to any hosts due
to exception: java.net.SocketException: java.net.ConnectException:
Connection refused"

which seems pretty clear, and appears to be the first of many error
messages. I am sure I have the username and password correct.

What isn't helping is that I have a load of other software running on
the test machine using the default ports, so I have had to juggle that.

I think I'm on my own with this, but just need the time to get a run at
it. Maybe later this week.


--
Bill

---
This email has been checked for viruses by AVG.
https://www.avg.com

  #95  
Old November 21st 18, 06:04 PM posted to comp.mobile.android,alt.comp.freeware,microsoft.public.windowsxp.general
Bill[_40_]
external usenet poster
 
Posts: 346
Default Report: My first "hello world" using Android Studio freeware on Windows worked just fine (in about an hour)

In message , arlen michael holder
writes
Oh Yeah! I'm with you on the need for a KISS camera app!

In fact, I have _entire threads_ on what is wrong with camera apps!
They don't get the SIMPLE stuff right!

The first camera app I write will be so simple that it can be used
under a car to snap photos wearing gloves, where all the controls that
get in the way (like that idiotic selfie switch for example) will be
removed!

I do a lot of work on cars as I keep them for decades (yes, plural),
and I've never once been to a mechanic in my life (I change & repair my
own tires, and balance my own wheels for example).

Here's a writetup, for example, on the clutch I recently replaced:

https://groups.google.com/d/msg/alt.home.repair/qEhph1MmSKs/S_R2Y4gRBwAJ
I must have snapped a thousand pictures for that tutorial, for example.
You only need one (maybe two) buttons (or commands).

Stage 1: Opening screen with big buttons to select:
1. Single picture every 5 secs or continuous video


Yup. I have an _entire thread_ on that one feature alone!
What is a good TIMER photo app for Android?

https://groups.google.com/d/msg/comp...30iHUg/QvBBYk9
FCAAJ

BTW, the _best_ (so far) that I can find for a camera "timer" app, is
the Mark Harmon "Open Camera" (watch out, there are multiple camera
apps with similar names due to the open source nature of things).


For a bit of light relief from my tussle with JDBC connectors, I'll
continue the conversation here.
Yes, I use "Open Camera" on both my phones and it is the best camera app
that I've found.
My days of getting under vehicles are now well and truly over. I did do
some work on them in the past, and I have rebuilt small marine engines
and gearboxes, but even that would be difficult now. My "old vehicles"
have now progressed to the age where the electronics is taking over, so
I've done a bit with OBD2 diagnostics.
On the 4x4 front **, I've had 2 Land Rover 110's, a Mk 1 Discovery that
caught fire while being welded by my local friendly mechanic. Then we
hit electronics. The nightmare Jeep Grand Cherokee followed, where I got
to the stage of talking to the ECU using a terminal program on an
Android tablet before discovering the brilliant free app written by
someone from Estonia. Now I'm on a 2004 Range Rover, where I use some
BMW diagnostics into a laptop.
The Rangie has just had its annual MOT test and had a bit of suspension
work and a new tyre. This meant it had to be jacked up which, as you may
know, means the air suspension loses all touch with reality and has to
be reset electronically. The mechanic has several very expensive
diagnostic tools, but nothing that would work with either the Jeep or
Range Rover, so he does the work and brings it back to me for the
electronics to be set up again. Unfortunately, today's reset hasn't
worked and one corner droops, so it's back to him to find what has
fallen off or burst.
This is exactly where a camera snake app would be excellent, allowing me
to inspect the underpinnings without having to crawl. I've just been
reading about some big square bright 12 volt LED panels that would be
ideal to throw under the car to illuminate the problems.

** Only needed to tow the 3 ton boat we built - now given to my son, so
the need for 4WD and low range gears has gone.
--
Bill

---
This email has been checked for viruses by AVG.
https://www.avg.com

  #96  
Old November 21st 18, 06:40 PM posted to comp.mobile.android,alt.comp.freeware,microsoft.public.windowsxp.general
arlen michael holder
external usenet poster
 
Posts: 48
Default Report: My first "hello world" using Android Studio freeware on Windows worked just fine (in about an hour)

On Wed, 21 Nov 2018 10:27:10 +0000, Bill wrote:

"W/System.err: java.sql.SQLException: Unable to connect to any hosts due
to exception: java.net.SocketException: java.net.ConnectException:
Connection refused"


Hi Bill,
It's good that you're working on solving that SQL connection, as the
ability to access an SQL database seems to be a fundamental skill.

As you noted, I can't help you with that, most likely, as I can't even
spell SQL, but where, it seems, you "may" be running into this Network on
Main Thread exception:
https://developer.android.com/reference/android/os/NetworkOnMainThreadException

Googling, it's a common message, but that doesn't mean it's easy to debug:
https://www.google.com/search?&q=W%2FSystem.err%3A+java.sql.SQLException% 3A+Unable+to+connect+to+any+hosts+due++to+exceptio n%3A+java.net.SocketException%3A+java.net.ConnectE xception%3A++Connection+refused

The "implication" is that the main activity can't do networking:
https://stackoverflow.com/questions/34547814/mysql-connection-java-sql-sqlexception-unable-to-connect-to-any-hosts-due-to
Where there are two workarounds proposed in that cite.

  #97  
Old November 21st 18, 06:42 PM posted to comp.mobile.android,alt.comp.freeware,microsoft.public.windowsxp.general
arlen michael holder
external usenet poster
 
Posts: 48
Default Report: My first "hello world" using Android Studio freeware on Windows worked just fine (in about an hour)

On Wed, 21 Nov 2018 10:27:10 +0000, Bill wrote:

"W/System.err: java.sql.SQLException: Unable to connect to any hosts due
to exception: java.net.SocketException: java.net.ConnectException:
Connection refused"


Hi Bill,
It's good that you're working on solving that SQL connection, as the
ability to access an SQL database seems to be a fundamental skill.

As you noted, I can't help you with that, most likely, as I can't even
spell SQL, but where, it seems, you "may" be running into this Network on
Main Thread exception:
https://developer.android.com/reference/android/os/NetworkOnMainThreadException

Googling, it's a common message, but that doesn't mean it's easy to debug:
https://www.google.com/search?&q=W%2FSystem.err%3A+java.sql.SQLException% 3A+Unable+to+connect+to+any+hosts+due++to+exceptio n%3A+java.net.SocketException%3A+java.net.ConnectE xception%3A++Connection+refused

The "implication" is that the main activity can't do networking:
https://stackoverflow.com/questions/34547814/mysql-connection-java-sql-sqlexception-unable-to-connect-to-any-hosts-due-to
Where there are two workarounds proposed in that cite.

It seems this restriction is "new" so maybe the version Butterfield used
doesn't have this problem.

I think we should, if we can, use tutorials that are current with at least
Android Studio version 3 moving forward (if possible). To that end, I'll
search for a few, particularly with respect to a timer.

I also thought of another simple KISS app, which is a family birthday
reminder, which has a single-button click to tell you the next upcoming
birthday.
  #98  
Old November 21st 18, 09:13 PM posted to comp.mobile.android,alt.comp.freeware,microsoft.public.windowsxp.general
Bill[_40_]
external usenet poster
 
Posts: 346
Default Report: My first "hello world" using Android Studio freeware on Windows worked just fine (in about an hour)

In message , arlen michael holder
writes
On Wed, 21 Nov 2018 10:27:10 +0000, Bill wrote:

"W/System.err: java.sql.SQLException: Unable to connect to any hosts due
to exception: java.net.SocketException: java.net.ConnectException:
Connection refused"


Hi Bill,
It's good that you're working on solving that SQL connection, as the
ability to access an SQL database seems to be a fundamental skill.

As you noted, I can't help you with that, most likely, as I can't even
spell SQL, but where, it seems, you "may" be running into this Network on
Main Thread exception:
https://developer.android.com/refere...kOnMainThreadE
xception

Googling, it's a common message, but that doesn't mean it's easy to debug:

https://www.google.com/search?&q=W%2...ql.SQLExceptio
n%3A+Unable+to+connect+to+any+hosts+due++to+excep tion%3A+java.net.Socket
Exception%3A+java.net.ConnectException%3A++Connec tion+refused

The "implication" is that the main activity can't do networking:
https://stackoverflow.com/questions/...tion-java-sql-
sqlexception-unable-to-connect-to-any-hosts-due-to
Where there are two workarounds proposed in that cite.

It seems this restriction is "new" so maybe the version Butterfield used
doesn't have this problem.

I think we should, if we can, use tutorials that are current with at least
Android Studio version 3 moving forward (if possible). To that end, I'll
search for a few, particularly with respect to a timer.

I also thought of another simple KISS app, which is a family birthday
reminder, which has a single-button click to tell you the next upcoming
birthday.


I'm beginning to think that you were right about avoiding Butterfield 4
for the time being. Every step I take seems to lead into something else
that I don't know. The complications I have include:
1. I actually built the database in MariaDB, the more open version of
Mysql. Mostly it identifies itself as mysql, but I can see it might lead
to complications. I see that there are MariaDB connectors. I might try
one of them.
2. I am not sure how the database should be set up wrt servers. MySQL
has a server on port 3306, but would usually be accessed via the
internet through an Apache server.
3. My fruits database is there and I can access it via a MySQL command
line, but I'm not sure how the connector relates to this. If I poke a
browser at 127.0.0.1:3306 I see gibberish with a few recognisable words.
4. I see a warning that my main activity is too busy. Maybe this relates
to the main activity and any networking restriction, although the fact I
am seeing "Connection refused" in an error message implies that it is
trying to connect.

All the above would normally make me dig in and try to fathom out each
lack of knowledge individually, but Android Studio would probably be
about 100 versions later on by the time I came out of the fog.

I think the birthday suggestion is OK as long as it didn't involve a
database at this stage. We have quite a lot of family birthdays, and I
usually just keep them in the Google Calendar app.

The following is half a joke, half not: For security reasons, I'm
beginning to think I should have a real birthday and then an online
birthday, just like the British Royal Family have Official Birthdays as
well as real ones. The online birthday, or birthdays, could be issued to
sites that demand a birthday as part of the registration process. Maybe,
if I used them, I should have a Twitter birthday, a Facebook birthday,
and so on.

I'll poke around a bit as well re timers and cameras. My computer time
tends to be in 10 to 15 minute segments between other things, so intense
concentration on anything is a problem.
--
Bill

---
This email has been checked for viruses by AVG.
https://www.avg.com

  #99  
Old November 22nd 18, 08:11 AM posted to comp.mobile.android,alt.comp.freeware,microsoft.public.windowsxp.general
arlen michael holder
external usenet poster
 
Posts: 48
Default Report: My first "hello world" using Android Studio freeware on Windows worked just fine (in about an hour)

On Wed, 21 Nov 2018 17:04:42 +0000, Bill wrote:

For a bit of light relief from my tussle with JDBC connectors, I'll
continue the conversation here.


Hi Bill,
We have both been working on moving forward, albeit in divergent
ways (where that's just fine).

Yes, I use "Open Camera" on both my phones and it is the best camera app
that I've found.


Great! I'm glad you use it, as it's the best there is for such things.
We seem to agree on our "assessment" of things.
That's good because it shows you're rational.

My days of getting under vehicles are now well and truly over. I did do
some work on them in the past, and I have rebuilt small marine engines
and gearboxes, but even that would be difficult now. My "old vehicles"
have now progressed to the age where the electronics is taking over, so
I've done a bit with OBD2 diagnostics.


Sounds like you have similar experience.
OBDII was a quantum leap in diagnostics.

It basically makes diagnostics for emissions-related stuff, almost simple.
(I say "almost" because it's just a pointer ... but it's a good pointer.)

You still have to figure out if it's the power to the sensor, or the sensor
itself, or what the sensor is sensing (which is usually the real problem).

On the 4x4 front **, I've had 2 Land Rover 110's, a Mk 1 Discovery that
caught fire while being welded by my local friendly mechanic.
Then we hit electronics.


Yikes! Good luck with that! Ouch.

You reminded me that, way back in the late sixties, I did my first welding
on a door sill, where, I didn't even THINK about the fact that there was a
thick wiring loom UNDER the metal I was welding with that gas welder!

I was splicing wires for hours after that!

The nightmare Jeep Grand Cherokee followed, where I got
to the stage of talking to the ECU using a terminal program on an
Android tablet before discovering the brilliant free app written by
someone from Estonia.


Now _that_ is a nice feat!
That's the kind of app I want to write, but for alignment.

Now I'm on a 2004 Range Rover, where I use some
BMW diagnostics into a laptop.


Yup. I know my bimmer well. Ediabas is the main interface.
It's a pain because the software was meant for RS232 serial ports.
Which you can't find anymore (not easily).

So we use adapters from the laptop USB port to the OBDII port.

Most of us use Inpa, but we all have NCS Expert, NCS Dummies, DIS/GT1,
EasyDIS, and Progman (for programming one of the dozen or so Electronic
Control Units in the E39 (which is what I own).

The great thing is that this is the same stuff the factory and dealer use.
The bad thing is a lot of it is still in German.

You probably know all this stuff. I have pointers to ALL the software if
you need it. I have everything, but it has been YEARS since I had to
download it so I hope it's still there as that stuff tends to die out.

The Rangie has just had its annual MOT test and had a bit of suspension
work and a new tyre.


Yup. Those smog tests on older cars are sometimes a PITA to pass.
And suspension work is, often, a PITA too!

I'm currently honing my skills for suspension alignment.
While most people have an outdated opinion of both mounting & balancing
tires and doing an alignment at home, the reality is that the tools are
getting better and cheaper and more available by the day!

Just as we can now repair, mount and balance tires at home for an outlay in
tool costs that is amortized over about 3 or 4 sets of tires, the same is
happening for alignment.

On the problem is tremendously different, where, again, you'll hear
everyone say the outdated words that they can't do it - but it turns out to
be eminently possible.

I have a recent thread, for example, on the Android tools for doing an
alignment at home over here...
https://groups.google.com/forum/#!msg/alt.home.repair/aPbvm5vRti0/kUaNVtBhAgAJ


This meant it had to be jacked up which, as you may
know, means the air suspension loses all touch with reality and has to
be reset electronically.


Actually, I don't have fancy "air" suspension. I have struts.
So that's too bad that you have to reset it.

The mechanic has several very expensive
diagnostic tools, but nothing that would work with either the Jeep or
Range Rover, so he does the work and brings it back to me for the
electronics to be set up again.


Wow. That's not good. I'm glad I don't have that problem.
What a pain.

Unfortunately, today's reset hasn't
worked and one corner droops, so it's back to him to find what has
fallen off or burst.


Yikes. Again, I'm glad I don't have to deal with that.

This is exactly where a camera snake app would be excellent, allowing me
to inspect the underpinnings without having to crawl.


Yup. Do you already have the snake camera? If so, didn't it come with an
app? (Mine did.)

I've just been
reading about some big square bright 12 volt LED panels that would be
ideal to throw under the car to illuminate the problems.


Yup. I have Costco LED garage lights that I put to each side of the car
when I'm working in the garage. They are meant for the ceiling, but they
work on the floor perfectly!

They light up the underside of the car like it's daylight.

** Only needed to tow the 3 ton boat we built - now given to my son, so
the need for 4WD and low range gears has gone.


Makes sense. 4WD, IMHO, has a LOT of overhead costs, that 2WD just doesn't
have, which is why I love 2WD over both FWD and 4WD and AWD (but to each
his own on that decision).

As for my Android, today I solved (sort of) the Genymotion problem.

My 20/20 hindsight to you is "Don't use the Genymotion S9 emulator!".
My irksome problem was that I _started_ with that emulator.
It failed EVERY time (I spent HOURS on it!).
https://groups.google.com/d/msg/comp.mobile.android/ix9empN-mxg/GvBpgIkOAwAJ

Then, I tried a half dozen others, and they ALL worked just fine.
Had I not started with the S9, I'd be saying how great Genymotion is.
Sigh. 20/20 hindsight.
http://www.bild.me/bild.php?file=9646339genymotion15.jpg

The Genymotion emulator is the cat's meow, when it works though.
It's BEAUTIFULLY integrated into Android Studio, for example.
And it's FAST! (real fast!)

So far, I have the following tests done (in this order).
http://www.bild.me/bild.php?file=8909620genymotion16.jpg

Works (using Genymotion 2.12.2 with VirtualBox 5.2.14 on Win10 1803):
o API 16, Jelly Bean: HTC One X - 4.11 - API 16 - 720x1280
o API 18, Jelly Bean: Samsung Galaxy S3 - 4.3 - API 18 - 729x1280
o API 19, KitKat: Motorola Moto X - 4.4.4 - API 19 - 720x1280
o API 21, Lollipop: Google Nexus 4 - 5.0.0 - API 21 - 768x1280
o API 23, Marshmallow: Samsung Galaxy S7 - 6.0.0 - API 23 - 1440x2560
o API 24, Nougat: Samsung Galaxy S8 - 7.0.0 - API 24 - 1440x2960
o API 25, Nougat: Google Nexus 6 - 7.1.0 - API 25 - 1440x2560

Fails (using Genymotion 2.12.2 with VirtualBox 5.2.14 on Win10 1803):
o API 26, Oreo: Samsung Galaxy S9 - 8.0 - API 26 - 1440x2960
o API 28, Pie: Google Pixel XL - 9.0 (preview) - API 28 - 1440x2560

The bad news is that I _started_ with the S9, where I spent hours trying to
get it to work before I decided to try the others.

The error message is most likely a red herring.
If I knew what I know now, I would have just used one of the others.

The great news is that there are a LOT of Genymotion emulators,
so, at some point, I hope to report that I have Android 8 emulated.

I'm going to look up how to downgrade an app once it's built to a
particular SDK version, so that it works on a lower SDK version.
I'll report back when I have something to report.
  #100  
Old November 22nd 18, 08:15 AM posted to comp.mobile.android,alt.comp.freeware,microsoft.public.windowsxp.general
arlen michael holder
external usenet poster
 
Posts: 48
Default Report: My first "hello world" using Android Studio freeware on Windows worked just fine (in about an hour)

On Wed, 21 Nov 2018 20:13:24 +0000, Bill wrote:

I'm beginning to think that you were right about avoiding Butterfield 4
for the time being.


Yeah. I completely understand your sentiment. The first three videos were
so good, particularly the first video, that we were lulled into
complacency. I found that fourth video a killer. There's just too much he
skipped that a noob can't recover from easily.

Besides, what "good" is an SQL server that only works at home?

I mean, do you have access to you SQL server when you're on the road?
I won't have that kind of access, so, I assume that it's not all that
useful in the end. Is it?

I don't know ANYTHING about this SQL stuff (I can't even pronounce it).

Is there value in learning the SQL stuff to set up your own server so that
your own apps can access it when you're on the road?

Every step I take seems to lead into something else
that I don't know. The complications I have include:
1. I actually built the database in MariaDB, the more open version of
Mysql. Mostly it identifies itself as mysql, but I can see it might lead
to complications. I see that there are MariaDB connectors. I might try
one of them.


Ah. I see. Yes. Everything you change, changes something else downstream.

2. I am not sure how the database should be set up wrt servers. MySQL
has a server on port 3306, but would usually be accessed via the
internet through an Apache server.
3. My fruits database is there and I can access it via a MySQL command
line, but I'm not sure how the connector relates to this. If I poke a
browser at 127.0.0.1:3306 I see gibberish with a few recognisable words.
4. I see a warning that my main activity is too busy. Maybe this relates
to the main activity and any networking restriction, although the fact I
am seeing "Connection refused" in an error message implies that it is
trying to connect.


I can't help. It's already too complex for my feeble brain!
I hope someone _else_ reading this knows _something_ about SQL.

But, in reality, most of the people reading this know far less than we do.
(Which is kind of scary, since we openly admit we don't know much.)

So we're on our own making these Android apps unless we find a better
support avenue, like StackExchange or Android Central, or whatever.

All the above would normally make me dig in and try to fathom out each
lack of knowledge individually, but Android Studio would probably be
about 100 versions later on by the time I came out of the fog.


Hehheh... I understand. I just moments ago (finally) got Genymotion
Emulation to work, so I will try to get back to finding a good video
tutorial for building an alarm clock app that is on a current version 3 of
Android Studio.

If I can get a Genymotion Android 8 emulator to work, I'll also try that
YouTube App I provided the source code to prior.

I also recently found out about JADX, which, apparently, is a "decompiler"
for Android apps, where, if you're lucky, you can get the source code out
of the app (which is as far as I understand JADX at this point, which may
be wrong so take that with a grain of salt).
https://github.com/skylot/jadx
https://play.google.com/store/apps/details?id=ua.naiksoftware.jadx

Maybe, later, when we get better at this, we can decompile APKs to figure
out how they did things.

I think the birthday suggestion is OK as long as it didn't involve a
database at this stage. We have quite a lot of family birthdays, and I
usually just keep them in the Google Calendar app.


I think there are two main reasons for KISS apps, where one is the sheer
simplicity, like how a wrench (you call them "spanners" I think) is simple.

It does one job and it does that one job perfectly.

The other reason is privacy. For the birthday app, for example, I don't
want to store private information on the net. I just don't. I could easily
put it in a file though, so the app would just access that file, and the
app would be a single-purpose app for birthdays. It would be running all
the time, and it would be a fire-and-forget style app.

But the ten-minute alarm is more useful to me right now, as I can't stand
any app that takes more than a single button press to do something _that_
simple as ring an alarm in ten minutes or snap a picture in five seconds.

The following is half a joke, half not: For security reasons, I'm
beginning to think I should have a real birthday and then an online
birthday, just like the British Royal Family have Official Birthdays as
well as real ones.


I like that idea!
I didn't even _know_ that the royal family has "official" birthdays.
(I only recently found out about the weighing of the princess.)

It makes sense to have an "online" persona, that has rememberable' dates.

Like, you make it the day of someone else's birthday that you can look up
if you forget. Say, oh, Prince Charles' birthday:
https://www.famousbirthdays.com/people/prince-charles.html
DOB November 14, 1948 (is that the real day or the royal birthday?)
I think _that_ will be my new DOB for my online presence!

I love that idea! Thanks!

The online birthday, or birthdays, could be issued to
sites that demand a birthday as part of the registration process. Maybe,
if I used them, I should have a Twitter birthday, a Facebook birthday,
and so on.


The nice thing is that you can look up the birthday, if you forget.
Also, if you want, you can keep them in an encrypted format.
I use KeePass for passwords, but I haven't interfaced it to mobile devices
yet.

I'll poke around a bit as well re timers and cameras. My computer time
tends to be in 10 to 15 minute segments between other things, so intense
concentration on anything is a problem.


I understand.

I think, for tutorials, I'll seek out, in this order:
o Must be Android Studio 3.2.1 & have clear instructions sans heavy accent
o Should cover simple alarm clock apps or simple camera apps
o For me, it can't be anything over Android 7.1.0

I'm also going to try to downgrade the SDK from Android 8 to Android 7 for
the one YouTube app that I previously posted the source code for.
  #101  
Old November 22nd 18, 08:49 AM posted to comp.mobile.android,alt.comp.freeware,microsoft.public.windowsxp.general
arlen michael holder
external usenet poster
 
Posts: 48
Default Report: My first "hello world" using Android Studio freeware on Windows worked just fine (in about an hour)

On Thu, 22 Nov 2018 07:15:05 -0000 (UTC), arlen michael holder wrote:

I'm also going to try to downgrade the SDK from Android 8 to Android 7 for
the one YouTube app that I previously posted the source code for.


Woo hoo!

Looks like Android Studio 3.2.1 has this all figured out.
http://www.bild.me/bild.php?file=5769478androidstudio88.jpg

To change the minimum SDK version from Android 8 to 7...
o Open the project (in my case, it's the YouTube project)
o AndroidStudio321:File Project Structure app Flavors
CHANGE FROM ... Min Sdk Version: API 27: Android 8.1 (Oreo)
CHANGE TO ..... Min Sdk Version: API 24: Android 7.0 (Nougat)
o And, just in case it matters:
CHANGE FROM ... Target Sdk Version: API 27: Android 8.1 (Oreo)
CHANGE TO ..... Target Sdk Version: API 24: Android 7.0 (Nougat)

The YouTube app has compilation errors, but I can begin to debug now.
  #102  
Old November 23rd 18, 09:47 PM posted to comp.mobile.android,alt.comp.freeware,microsoft.public.windowsxp.general
Bill[_40_]
external usenet poster
 
Posts: 346
Default Report: My first "hello world" using Android Studio freeware onWindows worked just fine (in about an hour)

On 22/11/2018 07:15, arlen michael holder wrote:
On Wed, 21 Nov 2018 20:13:24 +0000, Bill wrote:

Is there value in learning the SQL stuff to set up your own server so

that
your own apps can access it when you're on the road?

I think it's worth being aware of MySQL or similar for building general
databases that don't become obsolete. I remember the problems I had
with, in particular, early DBase4 and different generations of Access.
Things I've set up in MySQL are still easily accesible now without
having to jump through all sorts of weird hoops.
As I say, I'm very rusty on MySQL, but can still access the databases.
I'm not sure I want an Android app to access them, though.

major snippage

I also recently found out about JADX, which, apparently, is a

"decompiler"
for Android apps, where, if you're lucky, you can get the source code out
of the app (which is as far as I understand JADX at this point, which may
be wrong so take that with a grain of salt).
https://github.com/skylot/jadx
https://play.google.com/store/apps/details?id=ua.naiksoftware.jadx

Maybe, later, when we get better at this, we can decompile APKs to figure
out how they did things.

That looks interesting, but I think "later" is the operative word.

In looking again at the Butterfield 4 app, I decided that I ought to get
an understanding of how to use the inbuilt debugger in Android Studio.
Looking for some examples led me to:

https://codelabs.developers.google.c...d/index.html#0

which takes us back to where we started with Hello World, but adds
logging. The course says a single simple line should appear in the debug
logs, but I get loads of lines of info, warnings and errors, most of
which is stuff I dont understand. For example, I get

2018-11-23 12:23:33.580 1296-1865/? E/SurfaceFlinger: ro.sf.lcd_density
must be defined as a build property

where the E means it is an error message, and maybe 1296-1865 helps
decode where it comes from. The app works, so maybe Surface Flinger is
not that important.
I think I might try to work through the rest of that course in the hope
of getting a bit more understanding.

I think the birthday suggestion is OK as long as it didn't involve a
database at this stage. We have quite a lot of family birthdays, and I
usually just keep them in the Google Calendar app.


I think there are two main reasons for KISS apps, where one is the sheer
simplicity, like how a wrench (you call them "spanners" I think) is

simple.

It does one job and it does that one job perfectly.


For the vehicles and the boat, I have a huge box of spanners, all
different. I can no longer lift it. The boat has a glorious collection
of almost every thread known to man. I had to make my own spanners for
the keel bolts in the milling machine.

snip

The following is half a joke, half not: For security reasons, I'm
beginning to think I should have a real birthday and then an online
birthday, just like the British Royal Family have Official Birthdays as
well as real ones.


I like that idea!
I didn't even _know_ that the royal family has "official" birthdays.
(I only recently found out about the weighing of the princess.)

It makes sense to have an "online" persona, that has rememberable' dates.

Like, you make it the day of someone else's birthday that you can look up
if you forget. Say, oh, Prince Charles' birthday:
https://www.famousbirthdays.com/people/prince-charles.html
DOB November 14, 1948 (is that the real day or the royal birthday?)
I think _that_ will be my new DOB for my online presence!

I love that idea! Thanks!

The online birthday, or birthdays, could be issued to
sites that demand a birthday as part of the registration process. Maybe,
if I used them, I should have a Twitter birthday, a Facebook birthday,
and so on.


The nice thing is that you can look up the birthday, if you forget.
Also, if you want, you can keep them in an encrypted format.
I use KeePass for passwords, but I haven't interfaced it to mobile

devices
yet.


My passwords are kept in a MySQL database. I'm now up to about 140
entries. If I had different birthdays for different accounts, they would
probably have to be added to that database. Different birthdays would
help to confuse the gatherers of big data, but I also like the idea of
on online birthday that's easily looked up.

I'll poke around a bit as well re timers and cameras. My computer time
tends to be in 10 to 15 minute segments between other things, so intense
concentration on anything is a problem.


I understand.

I think, for tutorials, I'll seek out, in this order:
o Must be Android Studio 3.2.1 & have clear instructions sans heavy

accent
o Should cover simple alarm clock apps or simple camera apps
o For me, it can't be anything over Android 7.1.0

I'm also going to try to downgrade the SDK from Android 8 to Android

7 for
the one YouTube app that I previously posted the source code for.

As I say, I may well downgrade to the text based tutorial course
mentioned above for a time. It seems to be fairly up to date.

I've been trying to stick with Android 4 as the basic development level,
as I have loads of machines of that era to test on.

--
Bill

---
This email has been checked for viruses by AVG.
https://www.avg.com

  #103  
Old November 25th 18, 12:48 AM posted to comp.mobile.android,alt.comp.freeware,microsoft.public.windowsxp.general
Bill[_40_]
external usenet poster
 
Posts: 346
Default Report: My first "hello world" using Android Studio freeware on Windows worked just fine (in about an hour)

In message , arlen michael holder
writes
On Wed, 21 Nov 2018 17:04:42 +0000, Bill wrote:

I've done a bit with OBD2 diagnostics.


Snip

Now I'm on a 2004 Range Rover, where I use some
BMW diagnostics into a laptop.


Yup. I know my bimmer well. Ediabas is the main interface.
It's a pain because the software was meant for RS232 serial ports.
Which you can't find anymore (not easily).

So we use adapters from the laptop USB port to the OBDII port.

Most of us use Inpa, but we all have NCS Expert, NCS Dummies, DIS/GT1,
EasyDIS, and Progman (for programming one of the dozen or so Electronic
Control Units in the E39 (which is what I own).

The great thing is that this is the same stuff the factory and dealer use.
The bad thing is a lot of it is still in German.

You probably know all this stuff. I have pointers to ALL the software if
you need it. I have everything, but it has been YEARS since I had to
download it so I hope it's still there as that stuff tends to die out.


I use something called BMW Scanner v 1.4, which seems pretty good. I
have got INPA, but haven't yet installed it. I must try to get round to
it. The Rangie is similar to an X5, which is E53, I believe.

The Rangie has just had its annual MOT test and had a bit of suspension
work and a new tyre.


Yup. Those smog tests on older cars are sometimes a PITA to pass.
And suspension work is, often, a PITA too!

I'm currently honing my skills for suspension alignment.
While most people have an outdated opinion of both mounting & balancing
tires and doing an alignment at home, the reality is that the tools are
getting better and cheaper and more available by the day!

Just as we can now repair, mount and balance tires at home for an outlay in
tool costs that is amortized over about 3 or 4 sets of tires, the same is
happening for alignment.

On the problem is tremendously different, where, again, you'll hear
everyone say the outdated words that they can't do it - but it turns out to
be eminently possible.

I have a recent thread, for example, on the Android tools for doing an
alignment at home over here...

https://groups.google.com/forum/#!ms...vm5vRti0/kUaNV
tBhAgAJ


This meant it had to be jacked up which, as you may
know, means the air suspension loses all touch with reality and has to
be reset electronically.


Actually, I don't have fancy "air" suspension. I have struts.
So that's too bad that you have to reset it.


My other car (Skoda) has springs. 2 broke and have just been replaced.
Son has a Merc and he has had 3 broken springs. There is some problem
with quality with these European ( as opposed to British) springs.

The mechanic has several very expensive
diagnostic tools, but nothing that would work with either the Jeep or
Range Rover, so he does the work and brings it back to me for the
electronics to be set up again.


Wow. That's not good. I'm glad I don't have that problem.
What a pain.

Unfortunately, today's reset hasn't
worked and one corner droops, so it's back to him to find what has
fallen off or burst.


Yikes. Again, I'm glad I don't have to deal with that.


I spent most of this morning printing out relevant pages from the
workshop manual so he has no excuse. I'm hoping it's just a height
sensor come adrift.

This is exactly where a camera snake app would be excellent, allowing me
to inspect the underpinnings without having to crawl.


Yup. Do you already have the snake camera? If so, didn't it come with an
app? (Mine did.)

I have a snake camera with light meant for pushing down to inspect
drains. It's pretty mediocre. Also an older gooseneck mounted "webcam",
where the camera is at right angles to the gooseneck "snake". It's the
camera I've used for years taped to the gutter of the 110 or Disco
pointing down at the tow hitch when we used to hitch up and tow our boat
and fishing boats to the crane to be craned in or out of the dock.
Trailer hitch types were all different and heights all over the place.

A webcam taped to a piece of wood works as well, and there is room for
lighting beside it. I think all my cameras are pre-Android, so no apps
came with them.

I've just been
reading about some big square bright 12 volt LED panels that would be
ideal to throw under the car to illuminate the problems.


Yup. I have Costco LED garage lights that I put to each side of the car
when I'm working in the garage. They are meant for the ceiling, but they
work on the floor perfectly!

They light up the underside of the car like it's daylight.

** Only needed to tow the 3 ton boat we built - now given to my son, so
the need for 4WD and low range gears has gone.


Makes sense. 4WD, IMHO, has a LOT of overhead costs, that 2WD just doesn't
have, which is why I love 2WD over both FWD and 4WD and AWD (but to each
his own on that decision).


It was the low range that I used rather than the 4WD. One problem with
the Jeep was that its low range always locked front and rear
transmissions together, so the suspension would wind up on the mixed
rough grass and tarmac boatyard areas. The Land Rover products all
allowed unlocking or controlled slippage of the centre diff. I don't
think anyone makes a 2WD low range vehicle, unfortunately.
A hybrid electric vehicle would presumably lessen the need for 4WD but,
for some reason the electric equivalents of big 4X4's all have a much
lower towing capacity than the petrol or diesels. Anyway, they are too
new and expensive.

As for my Android, today I solved (sort of) the Genymotion problem.

My 20/20 hindsight to you is "Don't use the Genymotion S9 emulator!".
My irksome problem was that I _started_ with that emulator.
It failed EVERY time (I spent HOURS on it!).
https://groups.google.com/d/msg/comp.mobile.android/ix9empN-mxg/GvBpgIkOAwAJ

Then, I tried a half dozen others, and they ALL worked just fine.
Had I not started with the S9, I'd be saying how great Genymotion is.
Sigh. 20/20 hindsight.
http://www.bild.me/bild.php?file=9646339genymotion15.jpg

The Genymotion emulator is the cat's meow, when it works though.
It's BEAUTIFULLY integrated into Android Studio, for example.
And it's FAST! (real fast!)

So far, I have the following tests done (in this order).
http://www.bild.me/bild.php?file=8909620genymotion16.jpg

Works (using Genymotion 2.12.2 with VirtualBox 5.2.14 on Win10 1803):
o API 16, Jelly Bean: HTC One X - 4.11 - API 16 - 720x1280
o API 18, Jelly Bean: Samsung Galaxy S3 - 4.3 - API 18 - 729x1280
o API 19, KitKat: Motorola Moto X - 4.4.4 - API 19 - 720x1280
o API 21, Lollipop: Google Nexus 4 - 5.0.0 - API 21 - 768x1280
o API 23, Marshmallow: Samsung Galaxy S7 - 6.0.0 - API 23 - 1440x2560
o API 24, Nougat: Samsung Galaxy S8 - 7.0.0 - API 24 - 1440x2960
o API 25, Nougat: Google Nexus 6 - 7.1.0 - API 25 - 1440x2560

Fails (using Genymotion 2.12.2 with VirtualBox 5.2.14 on Win10 1803):
o API 26, Oreo: Samsung Galaxy S9 - 8.0 - API 26 - 1440x2960
o API 28, Pie: Google Pixel XL - 9.0 (preview) - API 28 - 1440x2560

The bad news is that I _started_ with the S9, where I spent hours trying to
get it to work before I decided to try the others.

The error message is most likely a red herring.
If I knew what I know now, I would have just used one of the others.

The great news is that there are a LOT of Genymotion emulators,
so, at some point, I hope to report that I have Android 8 emulated.

I'm going to look up how to downgrade an app once it's built to a
particular SDK version, so that it works on a lower SDK version.
I'll report back when I have something to report.


I'm just sticking with the inbuilt Android emulator as it works for me.
I've also been trying to build everything down to Android 4, as I have
tablet and phone of that generation as well as the Android 6 test phone.
--
Bill

---
This email has been checked for viruses by AVG.
https://www.avg.com

  #104  
Old November 29th 18, 11:05 AM posted to comp.mobile.android,alt.comp.freeware,microsoft.public.windowsxp.general
Bill[_40_]
external usenet poster
 
Posts: 346
Default Report: My first "hello world" using Android Studio freeware on Windows worked just fine (in about an hour)

In message , Bill
writes
https://codelabs.developers.google.c...aining-hello-w
orld/index.html#0


Just in case anyone else is following this, it may be worth saying that
the instructions for the codelabs 1.2 course contain a typo. Yellow for
the background colour is FFFF00, not, as stated in the instructions,
FFF00.

The app failed to compile and the error messages were of little help.
--
Bill

---
This email has been checked for viruses by AVG.
https://www.avg.com

  #105  
Old November 30th 18, 08:22 PM posted to comp.mobile.android,alt.comp.freeware,microsoft.public.windowsxp.general
arlen holder
external usenet poster
 
Posts: 8
Default Report: My first "hello world" using Android Studio freeware on Windows worked just fine (in about an hour)

On Fri, 23 Nov 2018 20:47:04 +0000, Bill wrote:

That looks interesting, but I think "later" is the operative word.


Hi Bill,
I apologize for not having posted as I was vacationing for the holiday.
I agree with you that "later" is the time for decompilers!

In looking again at the Butterfield 4 app, I decided that I ought to get
an understanding of how to use the inbuilt debugger in Android Studio.

I agree with you that debugging is a skill we desperately need now!

Looking for some examples led me to:
https://codelabs.developers.google.c...d/index.html#0
which takes us back to where we started with Hello World, but adds
logging. The course says a single simple line should appear in the debug
logs, but I get loads of lines of info, warnings and errors, most of
which is stuff I dont understand.


I just saw this (and your followup), so I'm not sure if you still recommend
it or not. It's good to recommend or not, as we both wasted a LOT of time on
the last of the four butterfield videos, and yet, the first three were great
(e.g., I'd recommend that first Butterfield video for every noob!).

For the vehicles and the boat, I have a huge box of spanners, all
different. I can no longer lift it. The boat has a glorious collection
of almost every thread known to man. I had to make my own spanners for
the keel bolts in the milling machine.


It's nice you have a milling machine! I have metric and imperial tap and die
sets, and of course, wrenches (aka "spanners") of all sizes, but no milling
machine yet!

My passwords are kept in a MySQL database. I'm now up to about 140
entries. If I had different birthdays for different accounts, they would
probably have to be added to that database. Different birthdays would
help to confuse the gatherers of big data, but I also like the idea of
on online birthday that's easily looked up.


Bill - I found a great set of tutorials (more on them later), where one that
I haven't done yet is all about SQL databases.

While I generally shy away from heavy accents due to the inability to
comprehend what say when they speak fast, this guy seems to have a series
of GREAT beginner videos ... replete with working source code!
https://codinginflow.com/app-ideas-learn-android-programming

He has a four-video series on working with SQLite in Android Studio:
https://www.youtube.com/playlist?list=PLrnPJCHvNZuBMJmll0xy2L2McYInT3aiu

I haven't done that particular series, but I've done a half dozen of his
other stuff, where _all_ his supplied source code worked perfectly the first
time!

Hence, I have no reason to believe these won't work also, when and if I
tackle SQL databases in the future, such as this 13-part SQL series where he
creates a multiple-choice quiz app in Android Studio:
https://www.youtube.com/playlist?list=PLrnPJCHvNZuDCyg4Usq2gHMzz6_CiyQO7

To give you an idea of this guy's well organized coding examples, I'll post
separately a few of the apps I have created using his tutorials.

As I say, I may well downgrade to the text based tutorial course
mentioned above for a time. It seems to be fairly up to date.


Hi Bill,
Like you, I am seeking out the best resources, where I did spend some time
on these tutorials, every one of which I tested worked out fine.
https://codinginflow.com/app-ideas-learn-android-programming

Since he provides extremely reliable and complete source code which hasn't
even once failed on the first try, and since he has an accent, what I end up
doing, which works for me, is this simple learning sequence:
1. First I copy & paste the source code & run on emulation & on the phone
2. Since that works the first time, without any errors, I don't learn much
3. Still, I can play with the app to get a good idea of what it does
4. Then, I read all the video comments (usually worthless though)
5. And then I watch the video, over and over and over - learning each time
6. Lastly, I zip up the working directory & experiment with commands

The good news is that this guy's source ALWAYS works the first time.
So you can spend time LEARNING and EXPERIMENTING.

Until an experiment goes wrong, you don't spend time DEBUGGING.
And, when an experiment goes wrong, you know exactly what you changed.

If you look at this guy's videos, let me know what you think.
I wish I had seen them sooner.

To help you and others, I'll post some of my results separately.

I've been trying to stick with Android 4 as the basic development level,
as I have loads of machines of that era to test on.


Hehhehheh ... Bill ... you are wise ... as I wasted a LOT of time trying to
run things that only work on Oreo, where I can't yet get an emulator to work
with Oreo, so it was a complete waste of time.

Hence, like you, I've learned (the hard way) to stick with API 14 (Android
4) for as long as I can as my targeted Android device selection!

Bill - that just reminded me of the infuriating issues I had last week with
the various emulators, where I tested a half dozen of them, specifically
C:\app\editor\android\emu\{google,arm,ms,geny,andy ,blue}

Here's a quick snippet of my analysis of how they work with Android Studio:
o Google (Android ?, fails on older AMD CPUs but is the default for AS)
o Arm (Android ?, nobody recommends these as they are too slow to be usable)
o Microsoft (Android 6, works great on older AMD CPUs, integrates into AS)
o Genymotion (Android 7.1, best overall for speed & CPU & AS compatibility)
o Andyroid (Android 7.1.2, simple setup where AS instantly recognized it)
o Bluestacks (Android 7.1.1, simple setup & runs fast, but AS didn't see it)

In the end, I had so many emulators competing with each other that I wiped
them all out and just installed the Genymotion emulator, which is
recommended by all as being the most compatible, and the fastest.
o Genymotion has a toolbar button integrated into Android Studio
o Genymotion has free technical support by email
o Genymotion has all the emulators you could want to have
o And it's fast
o But best of all - it works just fine with my older AMD CPU

The only Genymotion drawback I see is that I can't get anything higher than
API 25 to work in Genymotion on my older AMD CPU (i.e., API 26 and above
fails, i.e., Oreo & Pie), but for now, that's good enough since all the
emulators worked up to and including Nougat.
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off






All times are GMT +1. The time now is 12:57 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 PCbanter.
The comments are property of their posters.