Android error messages are crap

JeeJeeStudio jeejeestudio at gmail.com
Fri Mar 26 16:08:30 EDT 2021


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 <use-livecode at lists.runrev.com> 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 at 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 at 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 at 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 at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode




More information about the use-livecode mailing list