I think this relates to the previous problems you fixed manually. The 
defaults should have been correct and you didn't need to explicitly state 
the versions. 
What android.* build hints do you have in place?

On Friday, June 18, 2021 at 9:17:25 AM UTC+3 P5music wrote:

> Please see the attached file.
> Regards
>
> Il giorno venerdì 18 giugno 2021 alle 05:30:54 UTC+2 Shai Almog ha scritto:
>
>> What does the gradle file contain?
>>
>> FYI we have here binaries which you can use to workaround problems with 
>> gradle: https://github.com/codenameone/cn1-binaries/tree/master/android
>>
>> On Thursday, June 17, 2021 at 10:10:13 AM UTC+3 P5music wrote:
>>
>>> I put
>>>
>>> compileSdkVersion 30
>>> buildToolsVersion "30.0.3"
>>>
>>> in the gradle file, because I found that those fields were set to 0, 
>>> like also
>>>
>>> minSdkVersion 15
>>> targetSdkVersion 30
>>>
>>> they were 0 too.
>>>
>>> In the txt attachment you can see the issue.
>>> In the SDK manager I downloaded all the necessary.
>>> On the internet someone says 
>>>
>>> From Android Studio go to: Tools >> Android >> SDK Manager
>>>
>>> Select and install "Extras|Android Support Repository" 
>>> but I do not find it.
>>>
>>> How to fix and compile?
>>>
>>> Thanks in advance
>>>
>>> Il giorno sabato 5 giugno 2021 alle 06:11:35 UTC Shai Almog ha scritto:
>>>
>>>> I can't read anything there. Usually Android studio offers an option to 
>>>> "fix" projects when there's a failure like that. As far as I know we don't 
>>>> use R8 so I'm guessing it was ignored by newer versions of Android Studio.
>>>>
>>>> On Friday, June 4, 2021 at 9:28:06 AM UTC+3 P5music wrote:
>>>>
>>>>> I am using a Arch Linux system so the AndroidStudio installation is 
>>>>> curated by the system itself. So I do not know what do you mean about two 
>>>>> versions of it, but I provide some further information.
>>>>> Android Studio 4.2.1
>>>>> Build #AI-202.7660.26.42.7351085, built on May 10, 2021
>>>>> Runtime version: 11.0.8+0-b944-P17168821 amd64
>>>>> VM: OpenJDK 64-Bit Server VM by N/A
>>>>> Linux 5.12.5-zen1-1-zen
>>>>> GC: G1 Young Generation, G1 Old Generation
>>>>> Memory: 1280M
>>>>> Cores: 4
>>>>> Registry: external.system.auto.import.disabled=true
>>>>> Current Desktop: GNOME 40.1.0 
>>>>> X11
>>>>> Garuda Linux; ID version: rolling
>>>>>
>>>>> What do you read inside the log files to say that? What's the issue 
>>>>> about the build?
>>>>>
>>>>> Regards
>>>>> Il giorno venerdì 4 giugno 2021 alle 03:15:39 UTC Shai Almog ha 
>>>>> scritto:
>>>>>
>>>>>> Do you have more than one version of Android Studio installed?
>>>>>> Which versions are installed on your system?
>>>>>>
>>>>>> On Thursday, June 3, 2021 at 7:48:52 PM UTC+3 P5music wrote:
>>>>>>
>>>>>>> I have to run a slightly modified version of my CN1 app on the 
>>>>>>> Android emulator.
>>>>>>> I performed a local Android build on a Linux machine, as I did for 
>>>>>>> the iOS build on a OSX machine.
>>>>>>> The build failed with errors that can be found in the text 
>>>>>>> attachments.
>>>>>>>
>>>>>>> log1 is from AndroidStudio subsequent build.
>>>>>>> log2 and log3 are from IntelliJ IDEA.
>>>>>>>
>>>>>>> Thanks in advance
>>>>>>>
>>>>>>

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/29d52749-6031-4e2f-ade1-bbbf8b30a45an%40googlegroups.com.

Reply via email to