If the necessary SQLite driver files are missing, download them by clicking the Download link at the bottom of the dialog. If the database is stored in the external memory, specify the database location relative to the memory root. If the database is stored in the internal memory, choose the database name. In the Database list, specify the database name or location: In the Storage area, specify where the database is located:Ĭhoose Internal if the database is stored in the internal memory of the device or the emulator.Ĭhoose External if the database is stored in the external memory of the device or the emulator. Alternatively, you can generate the APK in the debug mode. IntelliJ IDEA run configurations, by default, build Android applications in the debug mode. Select a package name suggested by IntelliJ IDEA or type its ID.įor the database to be accessible, the corresponding application must be built as debuggable and installed on the device or the emulator. For more information about application packages Android documentation. Specify the name of the application package the target database is associated with. Run and connect a physical device or launch an emulator. If no devices are available in the list, this means that there are no running devices connected to IntelliJ IDEA. Navigate to the database location C:UsersPublicDocumentsEmbarcaderoStudio21.0SamplesData and drag and drop the database shoplist.s3db to the project in. The physical or virtual device where the target database is stored. In the Data sources and drivers dialog that opens, specify the following: Open the Database tool window by selecting View | Tool Windows | Database from the main menu.Ĭlick on the toolbar and select Android SQLite from the drop-down menu. For more information about IntelliJ IDEA data sources, see Manage data sources. If your application uses an Android SQLite database, you can access this database right from IntelliJ IDEA through a data source of the Android SQLite type. Access Android SQLite databases from IntelliJ IDEA
0 Comments
Leave a Reply. |