M&M
Posts: 0
Joined: Tue Nov 11, 2014 6:59 am

android.support.v4

error: package android.support.v4.app does not exist

I looked at mvnrepository and found the jar. What would be the next step? Which folder should I upload the jar file into? And also I need to modify or add any pom file?

If this is explained clearly once with an example, this will help many others who are facing similar difficulty in adding dependencies to their apps.

http://mvnrepository.com/artifact/com...
code
<dependency>
<groupId>com&#46;google&#46;android</groupId>
<artifactId>support-v4</artifactId>
<version>r6</version>
</dependency>

/code
any idea how to solve this?

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

android.support.v4

Hello,

You can upload this file into a folder:
ANDROID//repo/com/google/android/support/v4

And add link to this file in .classpath:

http://prntscr.com/89is3g

M&M
Posts: 0
Joined: Tue Nov 11, 2014 6:59 am

android.support.v4

thanks

Madi Anas
Posts: 0
Joined: Thu Sep 03, 2015 9:52 pm

android.support.v4

Hello Sergiy, I have done everything acording to your instructions, however I still get the same error.
Image

I get the same error.
Image

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

android.support.v4

Hello Madi,

Could you undo all changes bofore these operations?

Madi Anas
Posts: 0
Joined: Thu Sep 03, 2015 9:52 pm

android.support.v4

I deleted the whole app from the main ANDROID folder and clicked "Undo all source changes". Now .classpath is not even there.

I also tried creating a new ionic app, classpath file is also missing.
What should I do now?

Jukka8703986
Posts: 0
Joined: Thu Oct 27, 2016 9:03 am

android.support.v4

Hi,
I had this same "android.support.v4." issue. This solution fixed the problem for me:
https://stackoverflow.com/a/28325548

Hope it helps you as well!

Br,
Jukka

Jukka8703986
Posts: 0
Joined: Thu Oct 27, 2016 9:03 am

android.support.v4

Hi,
I had this same "android.support.v4." issue. This solution fixed the problem for me:
https://stackoverflow.com/a/28325548

Hope it helps you as well!

Br,
Jukka

Return to “Issues”