Solution 1 :
Please don’t get confuse with library and actual applications.
https://github.com/jahirfiquitiva/Frames
is a library that you can include into your project/app using gradle –
dependencies {
implementation('dev.jahir:Frames:3.3.0'@aar) {
transitive = true
}
}
After importing you can create your application and then you can put admod
in your app’s main layout file.
Edit (Missing Layout Folder)
If the folder isn’t there or wasn’t added automatically when you created the project, you need to add it to your project in the following way:
- Right-click on the
res
folder - Select New -> Android Resource Directory from the menu that opens
- Select Resource type to be layout from the popup that opens
- Click OK
After creating the res
folder you can add layout
folder as well
- Right-click on the layout folder
- Select New -> Layout Resource File from the menu that opens
- Enter your new file name
- Click OK
Now you have XML file you can use into you activity/fragment.
Please check this and this for more info.
Happy Coding !
Problem :
enter image description hereI’m beginner to android studio . I downloaded code from this link :- https://github.com/jahirfiquitiva/Frames . In this code there is no activity_main.xml file . I want to place admob ads to this application . Can anyone help me to place admob ads to this “https://github.com/jahirfiquitiva/Frames” frames application .
Thanks in advance .
Comments
Comment posted by Teja Pamanji
I completed the process as you said before only . I can’t find layout folder in application. Please help me to place ads.