Im trying to import the sample SDK APIDemos app (I also tried to import another project I have in eclipse) and in both cases it says "Grade refresh build failed... peer not authenticated".
I check on the eclipse project gradle propeties file that it is http and not https and still same problem.
Any ideas?
Thanks!
UPDATE: now I am getting the same problem when trying to create a new project, please help!
Related
Sort of a amateur question, but i have been trying to import facebook sdk in to eclipse so that later i can use it as a library in another project. At first i was faced with a lot of errors, but i solved a lot of them by figuring out how to add the external libraries. But only a few issues which are still left are:
Error on Import com.facebook.R (cannot be resolved)
Error on R.style.com_facebook_loginview_default_style (R cannot be resolved)
Need help, as i could not find any thing regarding this issue. How to make this go away.
It means the facebook SDK project cannot generate the R.java file(check the gen folder in your project)
Usually it's your project API version is not right, or you could post your error message(look at console window and post here what it says)
hello I try to implement open group chat feature in my android app by using quickblox android sdk
I import the sample chat from quickblox android sdk and import the core and chat jars as external jars through properties-> java build path-> library
and pull-to-refresh as a library through properties-> android-> add
I followed all the steps in quickblox docs
but still I get errors in splashactivity project
it shows error as R cannot be resolved to a variable. ........
a spend whole day but i did't get anything please could someone help me
I would put this as a comment but don't have enough reputation yet. Errors in your XML layouts can lead to this error (R does not get built if there are errors in the layouts), so check there first. If everything is good there, check your imports in the file you have the errors in. You might have a bad import; you should have something like:
import <package_name>.R;
If that is not referencing your current project you will have a problem.
Also, make sure you do a Project > Clean.
Trying to import Facebook SDK into Android Studios, getting the following error:
Error:(8, 0) Could not find property 'ANDROID_BUILD_SDK_VERSION' on project ':FriendPickerSample'.
I tried importing the modules as follows: File > Import Module > Facebook unzipped path.
I'm new to Android Studios and it's my first time trying to import any SDK, and I don't even know what
'FriendPickerSample' is (I've tried searching around internet!).
Can someone please help me? What am I doing wrong, how can I solve this error?
UPDATE: I've tried adding BUILD_SDK_VERSION=20 (my sdk version is actually 20), still doesn't solve the error:
you define property ANDROID_BUILD_SDK_VERSION in you gradle.property.
ANDROID_BUILD_SDK_VERSION=(*Version)
currently I'm trying to implement and apply a pull to refresh list view for my sample app. Now I found out about chrisbanes pull to refresh here. Yes I know it's no longer maintaned but I can't find any alternatives. Anyway I tried to read a lot of questions about importing a project and I think I'm always lost about it especially with the gradle structure.
What I tried so far is to import the project in eclipse then gradle export and copy paste it on a directory named libraries following the steps in this link. I get an error saying Cannot create class-file.
As for the other test I've done I always get a gradle error. I forgot the exact error message but most of it are because of gradle.build.
Now can anyone tell me on the steps on how I can import this project library for my Android Studio project on a step by step basis? My apologies for asking too much.
I'm a beginner of Android Application development need to practice by examples and samples given in the book "Beginning with Android" by Wei Meng Lee, but whenever I try to follow those steps I come across a few errors unable to clean them. The Error seems like this:
" setContentView(R.layout.activity_main);" Don't know what type of error is it. In my computer I've installed SDK API level 16 that is for Android 4.1 What to do? Please guide me through appropriate answer.
Remove import
import android.R;
Than clean build your project also check xml layout file name in
setContentView(R.layout.activity_main);
than it'swork fine.
You should get the latest version of eclipse. Its now Eclipse Juno.
And check your import.
Remove
import android.R;
Instead put
import android.packagename.R;