Can't Repro
Status Update
Comments
su...@gmail.com <su...@gmail.com> #2
Note that the bug surfaced when I tried our app on android 5
ad...@gmail.com <ad...@gmail.com> #3
I'm also seeing this problem with our library IOCipher (https://github.com/guardianproject/IOCipher ). It all builds and works fine, until I switch the test suite from targeting android-15 to android-21, then running the tests on a android-19 (4.4.4) ROM. The NDK build uses r10d, and the IOCipher NDK build targeting android-7.
I found this workaround, which seems to work:
LOCAL_LDFLAGS += -fuse-ld=bfd
I found this workaround, which seems to work:
LOCAL_LDFLAGS += -fuse-ld=bfd
p....@gmail.com <p....@gmail.com> #4
please reopen if you still see this with r12.
p....@gmail.com <p....@gmail.com> #5
For me it didn't work neither. I've just fixed this by downgrading my Android Studio to version 1.5.1.
is...@gmail.com <is...@gmail.com> #6
correct workaround for mac os is:
<sourcePath>
<root type="composite">
<root type="simple" url="file://$USER_HOME$/Library/Android/sdk/sources/android-23" />
</root>
</sourcePath>
<sourcePath>
<root type="composite">
<root type="simple" url="file://$USER_HOME$/Library/Android/sdk/sources/android-23" />
</root>
</sourcePath>
p....@gmail.com <p....@gmail.com> #7
OK, I'm not sure what I've been doing wrong previously (maybe did some typo in the xml?) but when I installed a brand new copy of Android Studio 2.0 now and followed your steps it is working as expected. Thanks.
ju...@gmail.com <ju...@gmail.com> #8
[Comment deleted]
ju...@gmail.com <ju...@gmail.com> #9
Thank you SunnyChu + Iskander, to combine your advices:
1. Close Android Studio.
2. Open ~/Library/Preferences/AndroidStudioPreview2.1/options/jdk.table.xml
3. Locate <sourcePath> for Android API 23 Platform, replace the whole node with:
<sourcePath>
<root type="composite">
<root type="simple" url="file://$USER_HOME$/Library/Android/sdk/sources/android-23" />
</root>
</sourcePath>
4. Save the file and start Android Studio
No sure why Android Studio doesn't do this automagically. Really appreciate the help.
1. Close Android Studio.
2. Open ~/Library/Preferences/AndroidStudioPreview2.1/options/jdk.table.xml
3. Locate <sourcePath> for Android API 23 Platform, replace the whole node with:
<sourcePath>
<root type="composite">
<root type="simple" url="file://$USER_HOME$/Library/Android/sdk/sources/android-23" />
</root>
</sourcePath>
4. Save the file and start Android Studio
No sure why Android Studio doesn't do this automagically. Really appreciate the help.
sh...@gmail.com <sh...@gmail.com> #10
Had the same issue with AndroidStudio2.1 and Android-24 sources.
Updated the source from AndroidStudio where it asked to Download the source. That worked, but after downloading the source the refresh would not work.
Had to do the same:
1. Close Android Studio.
2. Open ~/Library/Preferences/AndroidStudio2.1/options/jdk.table.xml
3. Locate <sourcePath> for Android API 24 Platform, replace the whole node with:
<sourcePath>
<root type="composite">
<root type="simple" url="file://$USER_HOME$/Library/Android/sdk/sources/android-24" />
</root>
</sourcePath>
4. Save the file and start Android Studio
Updated the source from AndroidStudio where it asked to Download the source. That worked, but after downloading the source the refresh would not work.
Had to do the same:
1. Close Android Studio.
2. Open ~/Library/Preferences/AndroidStudio2.1/options/jdk.table.xml
3. Locate <sourcePath> for Android API 24 Platform, replace the whole node with:
<sourcePath>
<root type="composite">
<root type="simple" url="file://$USER_HOME$/Library/Android/sdk/sources/android-24" />
</root>
</sourcePath>
4. Save the file and start Android Studio
jo...@gmail.com <jo...@gmail.com> #11
Please fix this.
ig...@gmail.com <ig...@gmail.com> #12
I have the same issue for Android Studio 2.2 and API 25.
vi...@google.com <vi...@google.com> #13
Thanks for the feedback. We are sorry it took so long for us to get to this report. We would really appreciate it if you could confirm that this is still an issue for you and if so we will route it to the right team.
For information of what’s needed in the report please don’t forget to read this guide athttps://developer.android.com/studio/report-bugs
For information of what’s needed in the report please don’t forget to read this guide at
an...@google.com <an...@google.com> #14
Our team had requested additional information for this issue which was not provided within 30 days. Unfortunately there is not enough information for us to proceed and this issue is now closed.
In the future, if you encounter this or any other issue, please readhttps://developer.android.com/studio/report-bugs.html and file a new bug report with all the required information. This will help ensure the team can correctly triage, reproduce, and resolve your issue.
Thank you!
In the future, if you encounter this or any other issue, please read
Thank you!
Description
Studio Build: 2.1 Beta 2
Version of Gradle Plugin: 2.0.0
Version of Gradle: 2.10
Version of Java: 1.8.0_77
OS: Mac OS X 10.11.4
Steps to Reproduce:
1. With sources of Android API 22 and lower installed, open Android Studio.
2. Open a project with compileSdkVersion 22.
3. Launch Standalone SDK Manager and install sources of Android API 23.
4. Change compileSdkVersion to 23 and sync the project.
5. Decompile TextView. "Sources for 'Android API 23 Platform' not found" displayed. Click Download or Refresh buttons has no effect.
6. Remove and install Android API 23 sources via the built-in SDK manager, and restart Android Studio, still the same.