-
Notifications
You must be signed in to change notification settings - Fork 6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't import #4248
Comments
Hi @AndroidDeveloperLB, I have not seen similar reports in the past. I am not sure this is an ExoPlayer issue. I see quite a lot of material around it in Stack Overflow and Github. Have you tried any of the workarounds suggested there? |
Why is there any issue at all? Why can't I just import it into Android Studio and that's it? Can you please apply the needed changes that you think are missing, so that this won't require extra steps? |
I just tried git clone https://github.com/google/ExoPlayer.git And then opened the build.gradle file from android studio (I am running 3.0.1), and was able to run the video app without any issues. As suggested above, this is most likely a local issue. I am pretty sure that you'll find a fix in one of the referred issues, or in Stack Overflow. Closing as this is most likely not ExoPlayer related. |
@AquilesCanta Why close the issue? |
What happens if you go through the steps I commented above? |
@AquilesCanta You did as I did, so I will try again: Still doesn't build. I get this: I've done it again, and without updating gradle version, and then it worked fine. Have you also tried the one of https://github.com/google/ExoPlayer/tree/io18 ? |
Hi,
The steps I shared above are for importing the io18 demo (it checks out the demo branch with Something must be wrong with the importing steps used before capturing the second image (if you intended to import the io demo). It is complaining about the cast extension but the io18 demo does not have any reference to the cast extension, so AS must be trying to import something else. |
@AquilesCanta Can you please try it? |
@AndroidDeveloperLB, I did try the steps I listed above and managed to import the demo without any issues. |
@AquilesCanta OK I still can't do it, so reported about this here as this is probably a gradle/IDE bug: |
I am sorry you are running into this. Restarting and clearing caches sometimes helps with these issues. Keep in mind however, that the second image contains a reference to the cast extension, but the io demo does not depend on it, so that something that should be fixed by running a clean instance of Android Studio. |
I get this:
Attached IDE log file.
idea.log
The text was updated successfully, but these errors were encountered: