I think this has something to do with ‘include’ but I couldn’t find a satisfatory way to understand it, as adle is inside app, and I need to include something inside /java/, and also there is the problem that myapp and MyLibrary need to be in the same com.myname directory. I could move MyLibrary directly in a way that I would end up with:īut I want to make use of the automatic Android Studio integration with github. Since I cannot import directly inside /java in a way that both files would end up in the same com/myname/ folder, I need a way to ‘link’ this newly included github project. In which there are my source files, but there are other things inside MyLibraryFromGithub as well (but I’m not gonna use them for this project) I didn’t know which folder to use so I put in the following: In the search bar near the top of the Browse Samples wizard, type 'compose'. If you already have an Android Studio project open, select File > New > Import Sample from the menu bar. Hi, I have the following project on Android Studio:Īnd I imported a project from github, also mine. To import a sample app project from Android Studio, proceed as follows: If you’re in the Welcome to Android Studio window, select Import an Android code sample.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |