• Breaking News

    [Android][timeline][#f39c12]

    Thursday, January 27, 2022

    Apple silicon support officially marked as fixed! Android Dev

    Apple silicon support officially marked as fixed! Android Dev


    Apple silicon support officially marked as fixed!

    Posted: 26 Jan 2022 04:25 PM PST

    m1 mac support came to AS a few releases ago, but you still needed rosetta for adb and other platform tools.

    With this update (it seems) like you can use AS on a laptop without rosetta!

    https://issuetracker.google.com/issues/160004878

    to install, "check for updates" in AS and it should prompt you for 32.0.0

    submitted by /u/leggo_tech
    [link] [comments]

    Is there a way to generate SQLite file from iOS platform, which is compatible with Android Room database library?

    Posted: 27 Jan 2022 12:27 AM PST

    We have an Android app, which is using read/ write data using Android Room database library, and then download/ upload to cloud storage.

    Now, we are developing an iOS app, which is suppose able to read/ write the data.

    There is no issue for our iOS app to read SQLite file written by Android Room database, because we are the one who define database schema.

    However, there are issue, for iOS app to write an Android Room database library compatible SQLite file. We notice Android Room database library is expecting the following 3 additional tables.

    CREATE TABLE room_master_table (id INTEGER PRIMARY KEY,identity_hash TEXT); CREATE TABLE android_metadata (locale TEXT); CREATE TABLE sqlite_sequence(name,seq); 

    The sample data contain in the 3 additional tables are as follow.

    INSERT INTO "main"."room_master_table" ("id", "identity_hash") VALUES ('42', '5471e2f102feee2750d42986836b0c42'); INSERT INTO "main"."android_metadata" ("locale") VALUES ('en_US'); INSERT INTO "main"."sqlite_sequence" ("name", "seq") VALUES ('plain_note', '62'); INSERT INTO "main"."sqlite_sequence" ("name", "seq") VALUES ('attachment', '6'); INSERT INTO "main"."sqlite_sequence" ("name", "seq") VALUES ('tab_info', '5'); 

    I think I am able to generate data for android_metadata & sqlite_sequence manually.

    But, I am clueless in generating data for room_master_table.

    I tested a SQLite file without room_master_table, it will cause the following error during reading via Android Room.

    Caused by: java.lang.IllegalStateException: Room cannot verify the data integrity. Looks like you've changed schema but forgot to update the version number. You can simply fix this by increasing the version number.

    I was wondering, is there a way to generate SQLite file from iOS platform, which is compatible with Android Room database library? Or, it is simply not possible?

    submitted by /u/yccheok
    [link] [comments]

    Where to start ?!?!

    Posted: 27 Jan 2022 03:23 AM PST

    I am interested in changing my career path and would like to learn Kotlin and pursue the android dev route.. can anyone please tell me where to start? Any recommendations of learning platform that won't break the bank? Thank you :)

    submitted by /u/Caffeinated_sentient
    [link] [comments]

    Relationship between Firebase - Google Play Store

    Posted: 27 Jan 2022 02:21 AM PST

    For several months I've been using Firebase App Distribution successfully. I'd manually build application on my local computer and upload APK file manually to Firebase App Distribution so it's accessible to testers via App Tester application.

    I would like to use recommended AAB instead of APK and for that, I need Google Play Store. I created dev account and have access to GPS.

    I have trouble understanding following things:

    1. I have two Firebase projects (test + production), this means each Firebase project has its own mobile app that has different package ID (I build them with flavors with different Firebase configuration files). "test" project is only used for development and testing, the "production" project is for releases. Do I need to set up my test app in GPS as well? I only want to do it for test version of my app so I can do AAB builds.
    2. How do I connect Firebase Android App with GPS? I can't seem to find any kind of set up in GPS where it'd ask me for package ID.

    Maybe I'm misunderstanding Google Play Store Console, perhaps it's only used for release apps? Thank you.

    submitted by /u/zeebadeeba
    [link] [comments]

    Gson migration made easy!

    Posted: 27 Jan 2022 01:06 AM PST

    Do you have trouble with updating your app? (Long verification delays)

    Posted: 26 Jan 2022 04:17 PM PST

    Hi guys. The newest update of one of my app took like 5 days for now and it's not even published now. In the weeks before it was like that updates for verified and published at the same or next day. Anyone else having that issue?

    View Poll

    submitted by /u/Stock-Veterinarian51
    [link] [comments]

    PSA: If you use Jetbrains toolbox to install Chipmunk Beta 1 it will install Canary 1 instead

    Posted: 26 Jan 2022 05:15 PM PST

    Apparently it's a known issue. This messed me up for a while because I didn't realize that I had canary1 installed which was pretty different from canary7/beta1. Cheers

    submitted by /u/leggo_tech
    [link] [comments]

    CameraX Video and Extensions API survey

    Posted: 26 Jan 2022 04:33 PM PST

    App Timer (Java)

    Posted: 26 Jan 2022 02:07 PM PST

    how to monitor other apps on the phone and their usage

    and how to before i open ie facebook an activity of a pattern or a pin shows up and requires a password to access the app i want to open

    submitted by /u/smokinpharoh
    [link] [comments]

    StackOverflow or try to take code from github(and try to make it compatible?)

    Posted: 26 Jan 2022 12:42 PM PST

    what you guys do? you try take stuff from github profiles or take ready code from github but its kind of never compatible and try make it work?

    submitted by /u/No-Sleep-9475
    [link] [comments]

    Cheezam: Find cheeses from pictures and screenshot thanks to AI

    Posted: 26 Jan 2022 12:14 PM PST

    Hi ! :D

    I've made an Android app nammed Cheezam which is an application to help you finding cheeses information from pictures or screenshot using cheezam.fr and Flutter.

    The code is right here : https://github.com/KikiManjaro/Cheezam and I would really like to have some feedback on the app :)

    submitted by /u/Real_Ad6331
    [link] [comments]

    Jetpack compose with two Navigation Host, hot to go back without without recompose?

    Posted: 26 Jan 2022 12:14 PM PST

    Basically, I've set a navhost for bottomNavigationBar inside composable scaffold. All the screen with bottom navigation are placed inside that navhost.

    from one of the screen i want to navigate to sign up screen that is outside of the main screen with the bottomNavigationBar . When i press back from the sign up screen the main screen recomposed and all the data resets again. There's a way to prevent it from recomposed?

    submitted by /u/chkml
    [link] [comments]

    android ble find devices code from github downloaded and run and error

    Posted: 26 Jan 2022 11:21 AM PST

    I downloaded from https://github.com/kaviles/BLE_Tutorials the final project and i tried to test it and these errors apear any idea? do you guys try code from github and get errors?

    FAILURE: Build failed with an exception.

    * What went wrong:

    A problem occurred configuring project ':app'.

    > failed to find Build Tools revision 23.0.2

    * Try:

    Run with --info or --debug option to get more log output.

    * Exception is:

    org.gradle.api.ProjectConfigurationException: A problem occurred configuring project ':app'.

    at org.gradle.configuration.project.LifecycleProjectEvaluator.addConfigurationFailure([LifecycleProjectEvaluator.java:79](https://LifecycleProjectEvaluator.java:79)) at org.gradle.configuration.project.LifecycleProjectEvaluator.notifyAfterEvaluate([LifecycleProjectEvaluator.java:74](https://LifecycleProjectEvaluator.java:74)) at org.gradle.configuration.project.LifecycleProjectEvaluator.evaluate([LifecycleProjectEvaluator.java:61](https://LifecycleProjectEvaluator.java:61)) at org.gradle.api.internal.project.AbstractProject.evaluate([AbstractProject.java:499](https://AbstractProject.java:499)) at org.gradle.api.internal.project.AbstractProject.evaluate([AbstractProject.java:86](https://AbstractProject.java:86)) at org.gradle.execution.TaskPathProjectEvaluator.configureHierarchy([TaskPathProjectEvaluator.java:47](https://TaskPathProjectEvaluator.java:47)) at org.gradle.configuration.DefaultBuildConfigurer.configure([DefaultBuildConfigurer.java:35](https://DefaultBuildConfigurer.java:35)) at [org.gradle.initialization.DefaultGradleLauncher$2.run](https://org.gradle.initialization.DefaultGradleLauncher$2.run)([DefaultGradleLauncher.java:125](https://DefaultGradleLauncher.java:125)) at org.gradle.internal.Factories$1.create([Factories.java:22](https://Factories.java:22)) at [org.gradle.internal.progress.DefaultBuildOperationExecutor.run](https://org.gradle.internal.progress.DefaultBuildOperationExecutor.run)([DefaultBuildOperationExecutor.java:90](https://DefaultBuildOperationExecutor.java:90)) at [org.gradle.internal.progress.DefaultBuildOperationExecutor.run](https://org.gradle.internal.progress.DefaultBuildOperationExecutor.run)([DefaultBuildOperationExecutor.java:52](https://DefaultBuildOperationExecutor.java:52)) at org.gradle.initialization.DefaultGradleLauncher.doBuildStages([DefaultGradleLauncher.java:122](https://DefaultGradleLauncher.java:122)) at org.gradle.initialization.DefaultGradleLauncher.access$200([DefaultGradleLauncher.java:32](https://DefaultGradleLauncher.java:32)) at org.gradle.initialization.DefaultGradleLauncher$1.create([DefaultGradleLauncher.java:99](https://DefaultGradleLauncher.java:99)) at org.gradle.initialization.DefaultGradleLauncher$1.create([DefaultGradleLauncher.java:93](https://DefaultGradleLauncher.java:93)) at [org.gradle.internal.progress.DefaultBuildOperationExecutor.run](https://org.gradle.internal.progress.DefaultBuildOperationExecutor.run)([DefaultBuildOperationExecutor.java:90](https://DefaultBuildOperationExecutor.java:90)) at [org.gradle.internal.progress.DefaultBuildOperationExecutor.run](https://org.gradle.internal.progress.DefaultBuildOperationExecutor.run)([DefaultBuildOperationExecutor.java:62](https://DefaultBuildOperationExecutor.java:62)) at org.gradle.initialization.DefaultGradleLauncher.doBuild([DefaultGradleLauncher.java:93](https://DefaultGradleLauncher.java:93)) at org.gradle.initialization.DefaultGradleLauncher.getBuildAnalysis([DefaultGradleLauncher.java:87](https://DefaultGradleLauncher.java:87)) at org.gradle.launcher.exec.InProcessBuildActionExecuter$DefaultBuildController.configure([InProcessBuildActionExecuter.java:102](https://InProcessBuildActionExecuter.java:102)) at [org.gradle.tooling.internal.provider.runner.ClientProvidedBuildActionRunner.run](https://org.gradle.tooling.internal.provider.runner.ClientProvidedBuildActionRunner.run)([ClientProvidedBuildActionRunner.java:45](https://ClientProvidedBuildActionRunner.java:45)) at [org.gradle.launcher.exec.ChainingBuildActionRunner.run](https://org.gradle.launcher.exec.ChainingBuildActionRunner.run)([ChainingBuildActionRunner.java:35](https://ChainingBuildActionRunner.java:35)) at [org.gradle.tooling.internal.provider.runner.SubscribableBuildActionRunner.run](https://org.gradle.tooling.internal.provider.runner.SubscribableBuildActionRunner.run)([SubscribableBuildActionRunner.java:58](https://SubscribableBuildActionRunner.java:58)) at [org.gradle.launcher.exec.ChainingBuildActionRunner.run](https://org.gradle.launcher.exec.ChainingBuildActionRunner.run)([ChainingBuildActionRunner.java:35](https://ChainingBuildActionRunner.java:35)) at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute([InProcessBuildActionExecuter.java:43](https://InProcessBuildActionExecuter.java:43)) at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute([InProcessBuildActionExecuter.java:28](https://InProcessBuildActionExecuter.java:28)) at org.gradle.launcher.exec.ContinuousBuildActionExecuter.execute([ContinuousBuildActionExecuter.java:77](https://ContinuousBuildActionExecuter.java:77)) at org.gradle.launcher.exec.ContinuousBuildActionExecuter.execute([ContinuousBuildActionExecuter.java:47](https://ContinuousBuildActionExecuter.java:47)) at org.gradle.launcher.daemon.server.exec.ExecuteBuild.doBuild([ExecuteBuild.java:52](https://ExecuteBuild.java:52)) at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute([BuildCommandOnly.java:36](https://BuildCommandOnly.java:36)) at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed([DaemonCommandExecution.java:120](https://DaemonCommandExecution.java:120)) at org.gradle.launcher.daemon.server.exec.WatchForDisconnection.execute([WatchForDisconnection.java:37](https://WatchForDisconnection.java:37)) at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed([DaemonCommandExecution.java:120](https://DaemonCommandExecution.java:120)) at org.gradle.launcher.daemon.server.exec.ResetDeprecationLogger.execute([ResetDeprecationLogger.java:26](https://ResetDeprecationLogger.java:26)) at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed([DaemonCommandExecution.java:120](https://DaemonCommandExecution.java:120)) at org.gradle.launcher.daemon.server.exec.RequestStopIfSingleUsedDaemon.execute([RequestStopIfSingleUsedDaemon.java:34](https://RequestStopIfSingleUsedDaemon.java:34)) at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed([DaemonCommandExecution.java:120](https://DaemonCommandExecution.java:120)) at [org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.call](https://org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.call)([ForwardClientInput.java:74](https://ForwardClientInput.java:74)) at [org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.call](https://org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.call)([ForwardClientInput.java:72](https://ForwardClientInput.java:72)) at org.gradle.util.Swapper.swap([Swapper.java:38](https://Swapper.java:38)) at org.gradle.launcher.daemon.server.exec.ForwardClientInput.execute([ForwardClientInput.java:72](https://ForwardClientInput.java:72)) at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed([DaemonCommandExecution.java:120](https://DaemonCommandExecution.java:120)) at org.gradle.launcher.daemon.server.health.DaemonHealthTracker.execute([DaemonHealthTracker.java:47](https://DaemonHealthTracker.java:47)) at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed([DaemonCommandExecution.java:120](https://DaemonCommandExecution.java:120)) at org.gradle.launcher.daemon.server.exec.LogToClient.doBuild([LogToClient.java:66](https://LogToClient.java:66)) at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute([BuildCommandOnly.java:36](https://BuildCommandOnly.java:36)) at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed([DaemonCommandExecution.java:120](https://DaemonCommandExecution.java:120)) at org.gradle.launcher.daemon.server.exec.EstablishBuildEnvironment.doBuild([EstablishBuildEnvironment.java:71](https://EstablishBuildEnvironment.java:71)) at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute([BuildCommandOnly.java:36](https://BuildCommandOnly.java:36)) at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed([DaemonCommandExecution.java:120](https://DaemonCommandExecution.java:120)) at org.gradle.launcher.daemon.server.health.HintGCAfterBuild.execute([HintGCAfterBuild.java:41](https://HintGCAfterBuild.java:41)) at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed([DaemonCommandExecution.java:120](https://DaemonCommandExecution.java:120)) at [org.gradle.launcher.daemon.server.exec.StartBuildOrRespondWithBusy$1.run](https://org.gradle.launcher.daemon.server.exec.StartBuildOrRespondWithBusy$1.run)([StartBuildOrRespondWithBusy.java:50](https://StartBuildOrRespondWithBusy.java:50)) at [org.gradle.launcher.daemon.server.DaemonStateCoordinator$1.run](https://org.gradle.launcher.daemon.server.DaemonStateCoordinator$1.run)([DaemonStateCoordinator.java:246](https://DaemonStateCoordinator.java:246)) at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute([ExecutorPolicy.java:54](https://ExecutorPolicy.java:54)) at [org.gradle.internal.concurrent.StoppableExecutorImpl$1.run](https://org.gradle.internal.concurrent.StoppableExecutorImpl$1.run)([StoppableExecutorImpl.java:40](https://StoppableExecutorImpl.java:40)) 

    Caused by: java.lang.IllegalStateException: failed to find Build Tools revision 23.0.2

    submitted by /u/No-Sleep-9475
    [link] [comments]

    No comments:

    Post a Comment

    Fashion

    Beauty

    Travel