Solved

If You Added to Your Build

Question 59

Multiple Choice

If you added to your build.gradle file a room.schemaLocation : android {
     defaultConfig {
       javaCompileOptions {
           annotationProcessorOptions {
               arguments = ["room.schemaLocation": "$projectDir/schemas".toString() ]           
}       
}   
}
}
Then, you build your app or module. As a result you got a json file, with such path to it: app/schemas/your_app_package/db_package/DbClass/DB_VERSION.json What are the correct statements about this file? (Choose all that apply.)


A) It's a file with Room-exported schema
B) Main JSONObject in this file  usually should contain a number "formatVersion" and a JSONObject "database"
C) The JSONObject "database" in this file  usually should contain such objects, like "entities", "views", "setupQueries", ets.
D) non of the above

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents