Android Question [Solved] Maven artifact not found: com.android.support/...

rtek1000

Active Member
Licensed User
Longtime User
(P.S.: See post #14)

Even though updating the SDK, the B4A is still blocked:

Maven artifact not found: com.android.support/support-v4

I am using version 7.30.

From now on can I no longer compile app that show this warning?
 
Last edited:

rtek1000

Active Member
Licensed User
Longtime User
Thank you, but it did not work.

I downloaded the Java 8 and the sdk-tools-windows-3859397 SDK again

I installed the B4A again

The folder has been created:
\sdk-tools-windows-3859397\extras\b4a_remote\android

And the "Maven artifact not found: com.android.support/support-v4" error already occurs
simply when creating a new project with the following statement:

B4X:
Sub Process_Globals
    'These global variables will be declared once when the application starts.
    'These variables can be accessed from all modules.
    Public rp As RuntimePermissions
End Sub

Just select the library RuntimePermissions V1.10 (original)

I do not know if this is a B4A bug, because until then I had not experienced anything with this RuntimePermissions, but if it is already original with version 1.10, something is strange
 
Upvote 0

rtek1000

Active Member
Licensed User
Longtime User
It's very strange because the error does not occur with the current Trial version of the B4A

I can only think it's a bug
 
Upvote 0

ronell

Well-Known Member
Licensed User
Longtime User
It's very strange because the error does not occur with the current Trial version of the B4A
b4a sdk manager will work on b4a 8.0 trial version ..

upload_2018-6-18_14-33-52.png

your current licensed version is 7.30, you need this old sdk manager to make it work
 

Attachments

  • upload_2018-6-18_14-33-48.png
    upload_2018-6-18_14-33-48.png
    6.8 KB · Views: 645
Upvote 0

rtek1000

Active Member
Licensed User
Longtime User
Thanks, but I was already using this version of SDK,

However, in this SDK 24.1.1 there is no package with reference "Maven"

I found a reference only in Portuguese, when the site is in English the information is different.
https://developer.android.com/studio/intro/update (Brasilian Portuguese)

Translated from Brazilian Portuguese:
Android Support Repository
Recommended. Includes the local Maven repository for support libraries, which offer an expanded set of APIs compatible with most versions of Android. The repository is required for products like Android Wear, Android TV, and Google Cast. For more information, read Support Library.

Google Repository
Recommended. Includes the local Maven repository for Google libraries, which offer a variety of application features and services, including Firebase, Google Maps, and game leader achievements and leaderboards, among many others.

maven sdk 24.1.1.png sdk 24.1.1.png

I'm downloading the packages,
I'll comment later on what happened,

Thank you.
 
Upvote 0

rtek1000

Active Member
Licensed User
Longtime User
Do the new licensed B4A installers show notification about dependencies, such as Java version, SDK version etc?
 
Upvote 0

rtek1000

Active Member
Licensed User
Longtime User
Works!

Problem solved, No more "Maven artifact not found: com.android.support/support-v4":

Android Support Repository
+
Google Repository


Thank you!

Note: It would be nice if the B4A installer reports the version of the dependencies.
 
Upvote 0

Reinald Assheuer

Member
Licensed User
Longtime User
Hi, I've installed both repositories but the compiler has no access to path "c:\program files (x86)\android\android-sdk\tools\..\extras\android\m2repository\com\android\support\support-v4\25.3.1\unpacked-support-v4-25.3.1".

Thanks for help.
Reinald
 
Upvote 0

Reinald Assheuer

Member
Licensed User
Longtime User
I found out. From now on I have to run b4a.exe with administrator rights. Although all other stuff of Android SDK was installed with admin rights I never hat to start b4a with admin rights before. I don't understand Google.
Best regards Reinald
 
Upvote 0

Reinald Assheuer

Member
Licensed User
Longtime User
Oh, I thought "such as C:\Android" was an option. Perhaps it's better to add something like "Don't install in ... ".
Thanks for your hint. I will delete the old installation of SDK an re-install it.
Best regards.
 
Upvote 0

rtek1000

Active Member
Licensed User
Longtime User
If anyone has the error: Maven artifact not found: com.android.support/support-core-utils

And this error will stop happening when commenting:
B4X:
#AdditionalJar: com.android.support:support-core-utils

Ref.:
ExternalStorage - Access SD cards and USB sticks

This tip of installing the 'Android Support Repository' can also cater for this error.

(I tried to install using the current Android Studio in the SDK part, but these options are not available there)


Marven_error.png
 
Upvote 0
Top