Apps in Settings crashes in Android Q (Beta 3) emulator - android-emulator

I'm having trouble when trying to open "Apps & Notifications" in Settings. When I try to do it, Settings crashes and the Launcher's Homescreen is shown.
Unable to start activity
ComponentInfo{com.android.settings/com.android.settings.SubSettings}:
java.lang.NullPointerException:
Attempt to invoke virtual method
'void com.android.settings.applications
.SpecialAppAccessPreferenceController
.setSession(com.android.settingslib.core.lifecycle.Lifecycle)'
on a null object reference`
This also happens when an App tries to open a Permissions Dialog (grant Overlay permission) or when I try to open the "App info" Activity for any app.
This is on a Windows 7 machine.
Here's a related entry in Google's issue tracker we can star: https://issuetracker.google.com/issues/132401131
Fixed in Beta 4

Related

Unable to launch MongoDB On MacOS Monterey | Error MongoDB Compass” can’t be opened because Apple cannot check it for malicious software

I am unable to use MongoDb Compass on MacOS Monterey With Following Error. I tried every possible solution to resolve it.
ERROR: “MongoDB Compass” can’t be opened because Apple cannot check it for malicious software.
reinstallation of application , Restart machine , Open Anyway Option, Control + click and open from FInder. still MAc is not allowing to launch it and says
“This software needs to be updated. Contact the developer for more information.”enter image description here
Tried following too.
enter image description here
Did try : “MongoDB Compass” can’t be opened because Apple cannot check it for malicious software
None of above worked.
From support.apple.com
Apple can’t check app for malicious software
Using an app that can’t be checked for malicious software might harm
your Mac or compromise your privacy. If you’re certain that the app
you want to use is from a trustworthy source, you can override your
Mac security settings to open it.
In the Finder on your Mac, locate the app you want to open.
Don’t use Launchpad to locate the app.
Control-click the app icon, then choose Open from the shortcut menu.
Click Open.
The app is saved as an exception to your security settings, and you can open it at any time by double-clicking it, just as you do with
any registered app.
Here's How I did it. Finally...
open New Terminal Window -> Run Following
sudo spctl --master-disable
then I got **
Anywhere
** option In system Preferences -> Security & Privacy -> Open Anyway
Then Clicked on Open and it Launched.
Note: Run following command once you open your App to save your machine from malicious Software in future.
sudo spctl --master-enable
Refrence: How to Make Mac Allow Apps Downloaded from Anywhere 2022

Kiosk Mode on non-managed Chromeboxes?

I'm trying to turn on Kiosk mode for an non-managed chrome box following the official instructions but when I'm on the chrome://extensions page in developer mode there is no Add kiosk application option.
Did this get removed at some point leaving kiosk mode only available to managed devices?
Edit
The kiosk mode app I was using was a simple one that I wrote and had loaded via the "unpacked extension" box on the extensions page.
Then I published it restricted to test accounts and included the account on the chromebox as a tester and loaded it from the chrome web store that way. The effect is the same and I still don't see the kiosk application options.
Double Edit
I published it unlisted and installed it. The app installs and works. I have "kiosk_enabled" : true in my manifest and I still don't see any kiosk mode option.
Got the manage kiosk button to show up by:
Removing other users. The first user on the machine is designated the owner. I was trying for kiosk mode from the second user.
Restarting the device
After the reboot the Manage Kiosk Applications button was enabled. The solution is hinted at in this bug from 2014: https://code.google.com/p/chromium/issues/detail?id=385943

"Installation or uninstallation is not working temporarily" error when trying to launch Tizen watch application from Tizen SDK

When trying to launch the native watch application from Tizen IDE, I see the strange message "Certain application categories, such as "Watch Application", cannot be launched by "Run As".
Indeed, I try to use Run As from the project local menu to launch my app. But how else I am supposed to launch my application on the emulator?
The emulator device (watch) is up and running, visible on desktop as a separate widget. It is selected. The signing configuration is set up.
On the console output I see the message processing result : FATAL_ERROR [61].
I also tried to launch through the created launch configuration but this results the same error message.
The IDE logs show the following stack trace:
[2015.09.06 12:16:48][ERROR] ConnectionExplorer.java(658) - Fail to get platform log
[2015.09.06 12:18:59][ERROR] RdsDeployer.java(269) - Cannot partially upload or reinstall
org.eclipse.core.runtime.CoreException: [RDS] Cannot install application
at org.tizen.common.rds.RdsDeployer.newCoreException(RdsDeployer.java:699)
at org.tizen.common.rds.RdsDeployer.postInstall(RdsDeployer.java:634)
at org.tizen.common.rds.RdsDeployer.partialZipInstall(RdsDeployer.java:566)
at org.tizen.common.rds.RdsDeployer.deploy(RdsDeployer.java:267)
at org.tizen.nativecommon.launch.TizenLaunchDelegate2.deployApplication(TizenLaunchDelegate2.java:783)
at org.tizen.nativecommon.launch.TizenLaunchDelegate2.launchApplicationForRun(TizenLaunchDelegate2.java:504)
at org.tizen.nativecommon.launch.TizenLaunchDelegate2.launch(TizenLaunchDelegate2.java:216)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:858)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:707)
at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:1018)
at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1222)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
Caused by: org.tizen.common.sdb.command.message.CommandErrorException:
Error code: FATAL_ERROR
Error message:
Command: /usr/bin/pkgcmd -q -r -t tpk -n com.au.heywatch
Management: Installation or uninstallation is not working temporarily.
P.S. I add "eclipse" tag because Tizen SDK is very clearly Eclipse based IDE. Using Tizen IDE 2.3.1.
Watch face applications(Web/native) are never installed as widgets. You cannot see them in app menu.
Reason:
Within your tizen-manifest.xml file in your project, you'll find below line there
<watch-application appid="org.tizen.watchsample" exec="watchsample" ambient-support="true">
which makes your app as watch application and these apps are known as watch faces because they will be used in setting as the main watch in gear.
And on emulator, you cannot change the watch face on the home screen. Hence, you won't be able to test your watch application that way.
Had the same issue. My problem was certificate setup.
i followed there instructions: http://127.0.0.1:50224/help/topic/org.tizen.addon.certificate/html/dev_env/setting_author_certificate.htm
(link is from help and should work in browser when Tizen IDE is up, alternately you can go to Tizen IDE -> Help -> Help Content and search Certificate.
More specific: Distributor certificate i had was wrong (use the pass received by Samsung by email)
After fixing certificate, don't forget to right click your device in Connection Explorer and click Permit to install applications.

Getting error message when entering Chrome Webstore Item Id to old marketplace app

When I enter my Chrome Webstore Item Id in the settings for my old Google Marketplace app that I'm trying to migrate from, I get this error:
"Vendor is not one of the owners of the current listing"
I am following the instructions given here (See Step 3.):
https://developers.google.com/apps-marketplace/v1migratev2#heading=h.5oojrk7tttmq
I am logged in as the owner of both of the apps. This user is also the owner of the Project I have set up in Google Developer Console (http://cloud.google.com/console).
The new Chrome Webstore app is published (but only since very recently).
What am I missing here?
Turns out the user was not the owner (only member) of the API project used for the old app.
Problem solved!

How to view logs in Samsung Smart TV log viewer

In the Samsung Smart TV menu there is an option to "Start receiving Smart TV logs". It's "OFF" by default.
When I clicked it I received a prompt to "Check the Console View". I opened the console view and ran the app on emulator, but i couldn't see any logs there.
I know that when the emulator is launched, a separate window showing all the alert(".."); logs is also launched.
I want to know how to use of this option of viewing logs via Console View. I'm new to Eclipse and Smart TV SDK. Is there anything that I'm missing?
How is this different from the logs that are already being shown with the emulator
The console log is used for debugging in real devices.
Emulator already have it's own debugger console window so the emulator not sending anything to eclipse.
If you want to work with real devices this feature is very useful. Do app sync from TV to your workstation and enable the log receiver. When your synced apps run in the real devices (TV/BDP) the alert from application will sent to eclipse's console window
The app will send its logs back to an active eclipse console on the system from which it downloaded the app.
I'm working with eclipse on windows, so I gave my pc a static ip address and installed the Apache 2.2 web server. After uploading my app, I enable the console and open the console view as you did. Then, I start my app, and I see all the log information in the console.
I find this log information essential, because some services return an error in the emulator, but actually execute successfully on the tv. Many of these services are interacting directly with the tv hardware, and there is no other way to debug them.