Comments (9)
The instructions for the CodeLab need to be updated to reflect the need to create/update your own Run Configurations.
The existing CodeLab instructions assume all the pre-defined Run Configurations are in place.
from android-persistence.
I am facing same issue.
from android-persistence.
You need to add following line in AndroidManifest file in corresponding to that step you are solving -
<category android:name="android.intent.category.LAUNCHER"/>
Currently no filter has that line.
from android-persistence.
virat-shukla, what do I need to add to the AndroidManifest.xml file? Your answer was not clear.
from android-persistence.
In order to launch an activity from your phone's default launcher, you need to have following lines of code in one of your activity. Only then it will be listed in your list of installed apps.
<intent-filter> <action android:name="android.intent.action.MAIN"/> <category android:name="android.intent.category.LAUNCHER"/> </intent-filter>
since there were many activities in this code, they left it to us - which activity we want to open.
You have to put these lines in activity tag which you are currently working `upon.
from android-persistence.
If it helps, please close the issue. Thanks
from android-persistence.
On 12/9 I am having the same problem. PLEASE update codelab
from android-persistence.
I give up. I got step 1 and 2 to work. But, from 3 on nothing works. I went back to step1 and now it doesn't work. I'm spending so much time figuring out the lessons, I'm not able to focus on the purpose of the lesson. I'll go somewhere else to learn.
from android-persistence.
Sad but true, the codelab is not updated to reflect the instructions, and work as such in AndroidStudio 3.3.
Anyway, the (blunt) advice given already above helps to compile... one just need to consider carefully what to copy and paste, understanding the meaning and purpose of AndroidManifest.xml. :
in AndroidManifest.xml , The intents and actions for each Activity are defined. In the codelab, all actions are incomplete, is missing. Just within each <Intent>
, within <IntentFilter>
, after <action />
tag, please paste
<category android:name="android.intent.category.LAUNCHER"/>
Do it to one activity in the AndroidManifest.xml at a time, and then the activity with the line above gets run as app configuration. I hope this helps to workaround the issue.
from android-persistence.
Related Issues (20)
- getTodayPlusDays method
- step 5 is already solved
- Extra argument "mBooksTextView" in step 3-5 HOT 1
- Default not activity found HOT 1
- Function call in tutorial has an extra argument. HOT 1
- Link to PersistenceBasicSample
- Wrong inheritance
- Spelling mistake
- Database is not being reloaded HOT 1
- Wrong code snippet in Step 1
- BookDao.java incorrect find by Id return type and method name.
- Please remove popup everywhere on page content
- step 3 item 5 showBooksInUi() should have one parameter HOT 1
- Step 3: error during compiling on JankShowUserActivity.java if LiveData is used as return type HOT 1
- about the field cannot support auto increment eg.the type of number
- You should not have deprecated this codelab "in favor of the Room with a View" codelab HOT 4
- UsersActivity (Step 1) code is different from what is on page HOT 1
- Impl does not exist, Kotlin with Android Studio 3.0
- Update Project for Android Oreo
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from android-persistence.