Fast-Android-Networking icon indicating copy to clipboard operation
Fast-Android-Networking copied to clipboard

AndroidNetworking.initialize(getApplicationContext()); Not working

Open raktim1998 opened this issue 3 years ago • 14 comments

After adding (implementation 'com.amitshekhar.android:android-networking:1.0.2') this to my build.gradle. Error : Cannot resolve symbol 'AndroidNetworking. Please solve the issue.

raktim1998 avatar Apr 11 '22 06:04 raktim1998

This might be the issue - https://github.com/amitshekhariitbhu/Fast-Android-Networking/issues/307 Because Jcenter is going to shutdown soon or may be already shutdown.

jayantur13 avatar Apr 12 '22 13:04 jayantur13

I Have already followed all steps and the issue #307 guidelines but issue still exist

tauseeqafzal avatar Apr 13 '22 05:04 tauseeqafzal

I am on latest Android Studio,you may need to update it.Its working fine for me.

Edit - Update studio and Gradle too (AGP plugin)

jayantur13 avatar Apr 13 '22 06:04 jayantur13

i am also on Latest android Studio

On Wed, Apr 13, 2022 at 11:04 AM Jayant Navrange @.***> wrote:

I am on latest Android Studio,you may need to update it.Its working fine for me.

— Reply to this email directly, view it on GitHub https://github.com/amitshekhariitbhu/Fast-Android-Networking/issues/585#issuecomment-1097593201, or unsubscribe https://github.com/notifications/unsubscribe-auth/AYVB2TSMZAAXBKLSA47CPJDVEZPU5ANCNFSM5TCDG6WA . You are receiving this because you commented.Message ID: @.*** com>

tauseeqafzal avatar Apr 13 '22 10:04 tauseeqafzal

Oh than, there's something else that needs to fixed by your side or in the dependency itself.

jayantur13 avatar Apr 13 '22 10:04 jayantur13

Sure thanks

On Wed, Apr 13, 2022 at 3:29 PM Jayant Navrange @.***> wrote:

Oh than, there's something else that needs to fixed by your side or in the dependency itself.

— Reply to this email directly, view it on GitHub https://github.com/amitshekhariitbhu/Fast-Android-Networking/issues/585#issuecomment-1097883665, or unsubscribe https://github.com/notifications/unsubscribe-auth/AYVB2TQKULVXA757AWERIGTVE2OXDANCNFSM5TCDG6WA . You are receiving this because you commented.Message ID: @.*** com>

tauseeqafzal avatar Apr 13 '22 10:04 tauseeqafzal

I have the same problem!

assmaratib avatar Jul 18 '22 10:07 assmaratib

Same Problem. Tell me solution

Talha135 avatar Oct 08 '22 12:10 Talha135

Same Problem. Tell me solution

Check this out - https://github.com/amitshekhariitbhu/Fast-Android-Networking/issues/307

jayantur13 avatar Oct 08 '22 12:10 jayantur13

Hey I am also facing same issue, AndroidNetworking is not show in the onCreate method after implement on gradle file.

mrprince123 avatar Jan 19 '23 18:01 mrprince123

same happens with me

aashisharma1 avatar Jan 29 '23 06:01 aashisharma1

org.gradle.internal.resolve.ModuleVersionNotFoundException: Could not find com.amitshekhar.android:android-networking:1.0.2.

i got this problem.,if anyone knows pls say?? how can i rectify this

DineshDk01 avatar Mar 11 '23 13:03 DineshDk01

After adding (implementation 'com.amitshekhar.android:android-networking:1.0.2') this to my build.gradle. Error : Cannot resolve symbol 'AndroidNetworking. Please solve the issue.

I think I may have found the sollution for the same you have write this in your Setting.gradel file

maven { url ("https://jcenter.bintray.com") }

below the mavenCentral() line and make sure to add the above code to both the places as there you can see two mavenCentral() line in that file

and add the below line in your gradel.properties

android.enableJrtifier=true

Imran1z avatar Mar 30 '23 05:03 Imran1z

@Imran1z this works. Thanks

ricky40kr avatar Aug 17 '23 09:08 ricky40kr