Closed hamza0786 closed 5 months ago
Go to build gradle and see the reference of room database
Go to build gradle and see the reference of room database
this is in build.gradle file: ksp { arg("room.schemaLocation", "$projectDir/schemas") }
What about the file structure It might still have the old package name
What about the file structure It might still have the old package name
where to find it?
i have already change the package name in file directory by compact middle package
yes i have changed these also.
so, no solution for this?
https://github.com/deniscerri/ytdlnis/commit/d7819aca98f847ea2201791bcae80370c059c959
Look at this commit. I had changed the package from ytdlnis to ytdl
Look at this commit. I had changed the package from ytdlnis to ytdl
after i changed it to this: com.techinfo.ytdl
again same error
can you plz change it in android studio to see if you face the same issue or not.
it all has to do with namespaces and file structure. There might be something you missed. Or maybe clear android studio caches.
look at this for example.
ok.thats the issue i did not change the package name in schemas folder.now its working perfectly.thanks for helping out...
Hi! after replacing the package name getting this error:
[ksp] C:/Users//AndroidStudioProjects/ytdlnis/app/src/main/java/com/ytdl/videodownloader/database/DBManager.kt:62: Schema '1.json' required for migration was not found at the schema out folder: C:\Users\\AndroidStudioProjects\ytdlnis\app\schemas\com.ytdl.videodownloader.database.DBManager. Cannot generate auto migrations.