dabs
Full Member
Posts: 78
|
Post by dabs on Jan 21, 2020 23:45:33 GMT
Hi,
I've been running into this error when building my app in release mode:
[ERROR] Failed to execute goal on project deps-extractor: Could not resolve dependencies for project com.rhomobile.rhodes:deps-extractor:jar:1.0-SNAPSHOT: Could not find artifact com.android.support:support-v4:aar:25.2.0 in repo0 (file://C:/Users/dabs/AppData/Local/Android/Sdk/extras/google/m2repository) -> [Help 1]
According to previous posts about this (or similar) error, it seems I have to install socalled "Android support libraries". However, in my Android Studio (v.3.5.3, the latest one when I download it from the official site), when I go to the SDK manager, there is no option anywhere to download such libraries.
My RhoStudio version is 6.2, in case that matters.
Regards, Daníel
|
|
dabs
Full Member
Posts: 78
|
Post by dabs on Jan 22, 2020 11:05:10 GMT
Status update: I managed to install the Android support libraries by hand, by following the instructions here: stackoverflow.com/questions/36936271/installing-android-support-repository-offlineI'm still not able to compile my project, but it seems to be related to another issue. Anyway, it seems that one needs to use Android Studio 3.4 (i.e. NOT 3.5 or later) if you want the Android Support Libraries to be available. Otherwise, you will have to install them manually. Regards, Daníel
|
|
|
Post by Alexei on Jan 27, 2020 13:49:29 GMT
What version of rhodes are you using? At the moment, all the required dependencies are pulled automatically. URLs used for search: "file://#{File.join($androidsdkpath,'extras','google','m2repository')}", "file://#{File.join($androidsdkpath,'extras','android','m2repository')}", "https://jcenter.bintray.com", "https://maven.google.com"
|
|
dabs
Full Member
Posts: 78
|
Post by dabs on Jan 28, 2020 11:44:53 GMT
I'm using version 6.2.0 of RhoStudio. Haven't tried v7 since some time ago, when I ran into some trouble with it.
|
|
|
Post by Alex Epifanov on Jan 30, 2020 15:08:22 GMT
I'm using version 6.2.0 of RhoStudio. Haven't tried v7 since some time ago, when I ran into some trouble with it. 7.1.5 is quite stable now so I'd suggest using it.
|
|