View Single Post
  #67  
Old November 12th 18, 08:27 PM posted to comp.mobile.android,alt.comp.freeware,microsoft.public.windowsxp.general
Arlen_Holder
external usenet poster
 
Posts: 96
Default Report: My first "hello world" using Android Studio freeware on Windows worked just fine (in about an hour)

On Mon, 12 Nov 2018 12:37:36 +0000, Bill wrote:

Stepping into didn't help at the level I have currently clambered up to,
but I've got it working.

I had repeatedly failed to see that I had missed my typo where, in the
url "http://www.google.com, I had no :

Now on to lesson 3!


Hi Bill,
Yup. I went through that exact process of having a few typos before it
finally worked for me too.

Of course, the DIYs always *skip* those typos and tracking them down!

So it always *sounds* easier than it really is.

Good that you're on to lesson 3 where I wrote about it over he
https://groups.google.com/d/msg/comp.mobile.android/aW64zYeBtF0/kTkz1xIABwAJ

There were about a half dozen "differences" between my code and the
tutorial, but they turned out to be non issues, but do be advised that the
"comments" of the Youtube page show a _lot_ of people had problems that I
did not have.

Like you, I'm starting to get used to this Android Studio IDE, where, for
example, I'm learning that the Android Studio IDI does _not_ like when you
move things around in the Windows file system!

For example, see these half dozen screenshots, where I clearly have a
"stale signature" of some sort. You and I both know that we never touched
anything called a "signature" so it must have been done by Android Studio.

All I want to do is re-do the app01 "hello world" that works:
o http://www.bild.me/bild.php?file=7758838androidstudio60a.jpg
The first problem to overcome is that .gradle files need to be wiped out!
o http://www.bild.me/bild.php?file=7693773androidstudio60b.jpg
But worse, there is some kind of "stale certificate" that I don't know
about!
o http://www.bild.me/bild.php?file=9796091androidstudio60c.jpg
Due to that state certificate, the emulation works but not the real phone!
o http://www.bild.me/bild.php?file=3263646androidstudio60d.jpg
IMHO, if the IDe created this "signature", then the IDE should fix it!
o http://www.bild.me/bild.php?file=2938664androidstudio60e.jpg
It may be something I need to do on the phone, but it's not USB debugging:
o http://www.bild.me/bild.php?file=4015964androidstudio60f.jpg
And yet, app01 still has a stale signature (certificate?) on the phone!
o http://www.bild.me/bild.php?file=6803968androidstudio60g.jpg

Clearly Android Studio doesn't like when you move things around in Windows
with respect to this "stale signature" (whatever that is). In fact, Android
Studio won't even run the "hello world" (app01) on my phone anymore!

That's how much Android Studio hates that I moved things around in Windows!
I'm sure the solution will be "do this and don't do that", but I'm not
going to bother right now as I'll learn about 'stale signatures' when I
need to figure out what a "signature" is.

Anyway, I'm going to skip that last Butterfield video, which I listened to
in its entirety, where it creates a list based on Oracle SQL database
files.

If I need to, I'll go back to that fourth tutorial, but for now I'll stop
at the penultimate tutorial and move on to writing code that creates an
alarm clock of some sort.

I'm working on that now, but since I'm going off road, I may not be able to
help you if you attack that last Bill Butterfield tutorial.

But if you have questions about the penultimate tutorial, let me know.
Ads