Re: Setting up for android development on OS X 10.10 - help needed

2016-01-14 Thread panagiotis merakos
Hi Terry,

Regarding the crash on startup when deploying to android simulator:
What version of Android is running on the simulator? I have experienced
crashes *only* when deploying to android 2.3.3 simulator. Other android
versions work as expected. If you experience the crash not only in 2.3.3
simulator, but also in *any* android version less or equal to 4.1.3, then
you are probably affected by bug 16688:
http://quality.livecode.com/show_bug.cgi?id=16688 which we cannot
reproduce, but according to the bug report it affects *only* LiveCode 7.1.1
releases (works fine in 7.1.0).

Regarding the problem of not seeing your devices under the
development>test target
menu:
What happens if you type in the OS X terminal : "adb devices" ?

If you see an empty list, then the problem is that your devices are not
recognized. I have experienced this problem a number of times. I would
suggest using a different android cable. If this does not work, type in the
terminal:

"adb kill-server"

and then

"adb start-server"

Hope this helps,
Panos
--

On Thu, Jan 14, 2016 at 1:21 AM, Terry Judd 
wrote:

> OK - so I did manage to find and install a copy of Java 6 (I deleted the
> existing newer version of Java and then did a default install) and now the
> JDK path bit in the mobile support pane of
> the LC preferences window has a value in it but everything else remains
> the same. Even the simplest app crashes on the Android simulator.
>
> I¹m also trying to get a real device to show up under the development>test
> target menu without success. I have a couple of Samsung phones (S2 and S4
> mini) both with usb debugging enabled but neither shows up in the test
> target menu when connected. Any ideas?
>
> Terry...
>
> On 14/01/2016 11:45 am, "use-livecode on behalf of Terry Judd²
>  terry.j...@unimelb.edu.au> wrote:
>
> >Hi all ­ after a long break from developing for Android I need to get up
> >and running again but seem to be getting nowhere. I have all the Android
> >sdk stuff installed and updated and installed Java but when I go to
> >configure things in LC it accepts the location of the Android SDK root
> >folder but the JDK path stays empty. I can build an app ok but even the
> >simplest one will immediately crash (on the simulator ­ I¹m still trying
> >to get my device to show up on the target list).
> >
> >A search of the forums suggests that the empty path thing this is a known
> >issue( from some months ago) and a post (reply) from Sebastian in late
> >November last year suggested that you need to install the now deprecated
> >Java 6 to undertake Android development in LC. I¹d try that if I could
> >only find somewhere to download Java 6 from!
> >
> >Does anyone have this stuff working on OS X 10.10 (or later) and care to
> >provide some tips on how they got it to work?
> >
> >Best regards,
> >
> >TerryŠ
> >
> >Terry Judd  | Senior Lecturer in Medical Education
> >Department of Medical
> >Education
> >The University of Melbourne
> >M: 0435 961 594  |  E:
> >terry.j...@unimelb.edu.au
> >Publications<
> https://scholar.google.com.au/citations?user=XC5s6wwJ=
> >en>
> >___
> >use-livecode mailing list
> >use-livecode@lists.runrev.com
> >Please visit this url to subscribe, unsubscribe and manage your
> >subscription preferences:
> >http://lists.runrev.com/mailman/listinfo/use-livecode
>
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Setting up for android development on OS X 10.10 - help needed

2016-01-14 Thread Terry Judd
Thanks  very much Panos - I had another quick try last night following your 
suggestions and met with some success. It looks like I’m affected by bug 16688 
as you suggest so no joy with the simulator (I didn’t get around to moving back 
to LC 7.1.0) but changing cables did the trick with getting my Android phone to 
show up on the devices list. My app’s still not functioning correctly but at 
least it’s loading on my device. With any luck I can debug any remaining issues 
(my programming inadequacies) from there.

Best regards,

Terry…

Terry Judd  | Senior Lecturer in Medical Education
Department of Medical 
Education
The University of Melbourne
M: 0435 961 594  |  E: terry.j...@unimelb.edu.au
Publications

On 14/01/2016 9:37 pm, "use-livecode on behalf of panagiotis merakos" 

 on behalf of merak...@gmail.com> wrote:

Hi Terry,

Regarding the crash on startup when deploying to android simulator:
What version of Android is running on the simulator? I have experienced
crashes *only* when deploying to android 2.3.3 simulator. Other android
versions work as expected. If you experience the crash not only in 2.3.3
simulator, but also in *any* android version less or equal to 4.1.3, then
you are probably affected by bug 16688:
http://quality.livecode.com/show_bug.cgi?id=16688 which we cannot
reproduce, but according to the bug report it affects *only* LiveCode 7.1.1
releases (works fine in 7.1.0).

Regarding the problem of not seeing your devices under the
development>test target
menu:
What happens if you type in the OS X terminal : "adb devices" ?

If you see an empty list, then the problem is that your devices are not
recognized. I have experienced this problem a number of times. I would
suggest using a different android cable. If this does not work, type in the
terminal:

"adb kill-server"

and then

"adb start-server"

Hope this helps,
Panos
--

On Thu, Jan 14, 2016 at 1:21 AM, Terry Judd 
>
wrote:

OK - so I did manage to find and install a copy of Java 6 (I deleted the
existing newer version of Java and then did a default install) and now the
JDK path bit in the mobile support pane of
the LC preferences window has a value in it but everything else remains
the same. Even the simplest app crashes on the Android simulator.

I¹m also trying to get a real device to show up under the development>test
target menu without success. I have a couple of Samsung phones (S2 and S4
mini) both with usb debugging enabled but neither shows up in the test
target menu when connected. Any ideas?

Terry...

On 14/01/2016 11:45 am, "use-livecode on behalf of Terry Judd²

 on behalf of
terry.j...@unimelb.edu.au> wrote:

>Hi all ­ after a long break from developing for Android I need to get up
>and running again but seem to be getting nowhere. I have all the Android
>sdk stuff installed and updated and installed Java but when I go to
>configure things in LC it accepts the location of the Android SDK root
>folder but the JDK path stays empty. I can build an app ok but even the
>simplest one will immediately crash (on the simulator ­ I¹m still trying
>to get my device to show up on the target list).
>
>A search of the forums suggests that the empty path thing this is a known
>issue( from some months ago) and a post (reply) from Sebastian in late
>November last year suggested that you need to install the now deprecated
>Java 6 to undertake Android development in LC. I¹d try that if I could
>only find somewhere to download Java 6 from!
>
>Does anyone have this stuff working on OS X 10.10 (or later) and care to
>provide some tips on how they got it to work?
>
>Best regards,
>
>TerryŠ
>
>Terry Judd  | Senior Lecturer in Medical Education
>Department of Medical
>Education
>The University of Melbourne
>M: 0435 961 594  |  E:
>terry.j...@unimelb.edu.au
>Publications<
https://scholar.google.com.au/citations?user=XC5s6wwJ=
>en>
>___
>use-livecode mailing list
>use-livecode@lists.runrev.com
>Please visit this url to subscribe, unsubscribe and manage your
>subscription preferences:
>http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:

Re: Setting up for android development on OS X 10.10 - help needed

2016-01-13 Thread Terry Judd
OK - so I did manage to find and install a copy of Java 6 (I deleted the
existing newer version of Java and then did a default install) and now the
JDK path bit in the mobile support pane of
the LC preferences window has a value in it but everything else remains
the same. Even the simplest app crashes on the Android simulator.

I¹m also trying to get a real device to show up under the development>test
target menu without success. I have a couple of Samsung phones (S2 and S4
mini) both with usb debugging enabled but neither shows up in the test
target menu when connected. Any ideas?

Terry...

On 14/01/2016 11:45 am, "use-livecode on behalf of Terry Judd²
 wrote:

>Hi all ­ after a long break from developing for Android I need to get up
>and running again but seem to be getting nowhere. I have all the Android
>sdk stuff installed and updated and installed Java but when I go to
>configure things in LC it accepts the location of the Android SDK root
>folder but the JDK path stays empty. I can build an app ok but even the
>simplest one will immediately crash (on the simulator ­ I¹m still trying
>to get my device to show up on the target list).
>
>A search of the forums suggests that the empty path thing this is a known
>issue( from some months ago) and a post (reply) from Sebastian in late
>November last year suggested that you need to install the now deprecated
>Java 6 to undertake Android development in LC. I¹d try that if I could
>only find somewhere to download Java 6 from!
>
>Does anyone have this stuff working on OS X 10.10 (or later) and care to
>provide some tips on how they got it to work?
>
>Best regards,
>
>TerryŠ
>
>Terry Judd  | Senior Lecturer in Medical Education
>Department of Medical
>Education
>The University of Melbourne
>M: 0435 961 594  |  E:
>terry.j...@unimelb.edu.au
>Publicationsen>
>___
>use-livecode mailing list
>use-livecode@lists.runrev.com
>Please visit this url to subscribe, unsubscribe and manage your
>subscription preferences:
>http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode