Re: Android error messages are crap

2021-03-26 Thread JeeJeeStudio via use-livecode

I use Oracle's JDK 1.8.*, never have a problem with it.

Sometimes there is a hint in the error adb message

Op 26-3-2021 om 15:17 schreef Andre Garzia via use-livecode:

Dear Panos,

When I selected the sdk path in Android Studio, it didn’t populate the JDK 
path. I downloaded the OpenJDK separately and placed it in 
/Library/Java/JavaVirtualMachines/, relaunched LiveCode and it was detected 
fine after that.

That JavaVirtualMachines folder was empty after installing Android Studio, it 
didn’t place anything there.


On 26 Mar 2021, at 14:06, panagiotis merakos via use-livecode 
 wrote:

Hello Andre,

Have you downloaded OpenJDK separately? I think it is bundled in Android
Studio.

The error sounds related to Java / JDK, so could it be the case you have
multiple Java installations in your machine, and LC is not picking the
right one?

What are the contents of /Library/Java/JavaVirtualMachines/ ?

Also, what is the jdk path that is populated in the LC mobile prefs, when
you choose the sdk root folder?

Cheers,
Panos
--

On Fri, 26 Mar 2021 at 15:58, Andre Garzia via use-livecode <
use-livecode@lists.runrev.com> wrote:


So, I’m trying to set this machine for Android development. I have Android
Studio, I’ve downloaded the needed SDKs and I’ve got the latest OpenJDK
which appears to be jdk16.

Now, when I go and try pressing test on the IDE to test it on the device
(which is authorized and appearing fine as a target and on adb), I get that
useless:

“Could not compile service support class”

Which is not only not actionable, but it also can happen for any number of
reasons. After seeing that it is really not clear what the problem is, or
how to solve it.
___
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


___
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: Android error messages are crap

2021-03-26 Thread JeeJeeStudio via use-livecode
Java is not installed with Android Studio, you need either Oracle's or 
OpenJDK


Op 26-3-2021 om 15:17 schreef Andre Garzia via use-livecode:

Dear Panos,

When I selected the sdk path in Android Studio, it didn’t populate the JDK 
path. I downloaded the OpenJDK separately and placed it in 
/Library/Java/JavaVirtualMachines/, relaunched LiveCode and it was detected 
fine after that.

That JavaVirtualMachines folder was empty after installing Android Studio, it 
didn’t place anything there.


On 26 Mar 2021, at 14:06, panagiotis merakos via use-livecode 
 wrote:

Hello Andre,

Have you downloaded OpenJDK separately? I think it is bundled in Android
Studio.

The error sounds related to Java / JDK, so could it be the case you have
multiple Java installations in your machine, and LC is not picking the
right one?

What are the contents of /Library/Java/JavaVirtualMachines/ ?

Also, what is the jdk path that is populated in the LC mobile prefs, when
you choose the sdk root folder?

Cheers,
Panos
--

On Fri, 26 Mar 2021 at 15:58, Andre Garzia via use-livecode <
use-livecode@lists.runrev.com> wrote:


So, I’m trying to set this machine for Android development. I have Android
Studio, I’ve downloaded the needed SDKs and I’ve got the latest OpenJDK
which appears to be jdk16.

Now, when I go and try pressing test on the IDE to test it on the device
(which is authorized and appearing fine as a target and on adb), I get that
useless:

“Could not compile service support class”

Which is not only not actionable, but it also can happen for any number of
reasons. After seeing that it is really not clear what the problem is, or
how to solve it.
___
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


___
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: Android error messages are crap

2021-03-26 Thread Andre Garzia via use-livecode
Dear Panos,

When I selected the sdk path in Android Studio, it didn’t populate the JDK 
path. I downloaded the OpenJDK separately and placed it in 
/Library/Java/JavaVirtualMachines/, relaunched LiveCode and it was detected 
fine after that.

That JavaVirtualMachines folder was empty after installing Android Studio, it 
didn’t place anything there.

> On 26 Mar 2021, at 14:06, panagiotis merakos via use-livecode 
>  wrote:
> 
> Hello Andre,
> 
> Have you downloaded OpenJDK separately? I think it is bundled in Android
> Studio.
> 
> The error sounds related to Java / JDK, so could it be the case you have
> multiple Java installations in your machine, and LC is not picking the
> right one?
> 
> What are the contents of /Library/Java/JavaVirtualMachines/ ?
> 
> Also, what is the jdk path that is populated in the LC mobile prefs, when
> you choose the sdk root folder?
> 
> Cheers,
> Panos
> --
> 
> On Fri, 26 Mar 2021 at 15:58, Andre Garzia via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> 
>> So, I’m trying to set this machine for Android development. I have Android
>> Studio, I’ve downloaded the needed SDKs and I’ve got the latest OpenJDK
>> which appears to be jdk16.
>> 
>> Now, when I go and try pressing test on the IDE to test it on the device
>> (which is authorized and appearing fine as a target and on adb), I get that
>> useless:
>> 
>> “Could not compile service support class”
>> 
>> Which is not only not actionable, but it also can happen for any number of
>> reasons. After seeing that it is really not clear what the problem is, or
>> how to solve it.
>> ___
>> 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: Android error messages are crap

2021-03-26 Thread panagiotis merakos via use-livecode
Hello Andre,

Have you downloaded OpenJDK separately? I think it is bundled in Android
Studio.

The error sounds related to Java / JDK, so could it be the case you have
multiple Java installations in your machine, and LC is not picking the
right one?

What are the contents of /Library/Java/JavaVirtualMachines/ ?

Also, what is the jdk path that is populated in the LC mobile prefs, when
you choose the sdk root folder?

Cheers,
Panos
--

On Fri, 26 Mar 2021 at 15:58, Andre Garzia via use-livecode <
use-livecode@lists.runrev.com> wrote:

> So, I’m trying to set this machine for Android development. I have Android
> Studio, I’ve downloaded the needed SDKs and I’ve got the latest OpenJDK
> which appears to be jdk16.
>
> Now, when I go and try pressing test on the IDE to test it on the device
> (which is authorized and appearing fine as a target and on adb), I get that
> useless:
>
> “Could not compile service support class”
>
> Which is not only not actionable, but it also can happen for any number of
> reasons. After seeing that it is really not clear what the problem is, or
> how to solve it.
> ___
> 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


Android error messages are crap

2021-03-26 Thread Andre Garzia via use-livecode
So, I’m trying to set this machine for Android development. I have Android 
Studio, I’ve downloaded the needed SDKs and I’ve got the latest OpenJDK which 
appears to be jdk16.

Now, when I go and try pressing test on the IDE to test it on the device (which 
is authorized and appearing fine as a target and on adb), I get that useless:

“Could not compile service support class”

Which is not only not actionable, but it also can happen for any number of 
reasons. After seeing that it is really not clear what the problem is, or how 
to solve it.
___
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