I am getting this error on installing and launching the app, but it does not effect working of my app. But still why am I getting this :
Error:screenSize" />
I was getting the same error but project run successfully
the problem occurred whenever I collapse tag
for example
<activity
android:name=".DetailActivity"
android:configChanges="keyboardHidden|screenSize|orientation" />
then i did like this
<activity
android:name=".DetailActivity"
android:configChanges="keyboardHidden|screenSize|orientation"></activity>
now error disappears and Android Studio gives me warning "XML tag has empty body"
No exact solution found
Tested on
Android Studio 3.0.1
In my case above solution didn't worked , so i debugged a bit and found out that facebook SDK didn't mention about any manifest changes in their documentation , but somewhere i found this on blog
Solution
Add/update below code in your manifest( if using Facebook Ads SDK ):
<activity
android:name="com.facebook.ads.AudienceNetworkActivity"
android:configChanges="keyboardHidden|orientation|screenSize" />
Apparently the conclusion is you maybe missing activity declaration in manifest of some sorts, Hope this post will help someone in future.
Tip:
Open your Manifest and switch to merged manifest tab and recheck it that it is merged okay
Related
I recently started seeing this message in Android Studio’s Logcat while running my app, and I’m not sure what is causing it or how to resolve it. Googling has failed me.
E/FrameEvents: updateAcquireFence: Did not find frame. imageOfTrace
this trace comes out when I replace the fragment in the activity with fragmentmanager
I found the source of the error message: https://android.googlesource.com/platform/frameworks/native/+/master/libs/gui/FrameTimestamps.cpp#258
but I’m not sure why the frame is null
Any help resolving this issue would be great appreciated. THANKS!
I recently found this information when googling for the same error. As the comment says, this is most likely not something to worry about, as long as your app is running as expected
if you are using flutter and you are viewing a white screen instead of the map kindly ensure you have the manifest file configured with location access <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/> <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
I am having a weird case where I am unable to publish customization from Customization Project Browser. Whenever I click on Publish Current Project menu item from Publish menu, it opens up Compilation immediate window with Publish Customization heading but then it just stuck there with no further process.
But, I can publish the same project from Customization Projects Screen where I select the Customization Project with checkbox and click on Publish action icon.
Currently, that's the workaround I am using to publish but is there any other way that I can do to fix this issue?
I have cleaned up ASP.NET Temporary Files and Acumatica's Apply Updates.
Thanks.
that's due to some update in .net framework.
the solution is to update acumaticaERP to the latest, or do some workaround.
publish from custom project form
edit web.config and add <add key="aspnet:DisableAppPathModifier" value="false" /> to appSettings
https://community.acumatica.com/customization-and-development-72/after-the-installation-of-the-2020-10-cumulative-update-for-net-framework-3-5-and-4-8-users-were-unable-to-publish-a-customization-project-from-the-customization-project-editor-3854
I discovered the reason for this strange behavior, as well as the solution. It happened to me as well.
Reason: the w3wp process encounters an error during publishing. The folder permissions for c:\Program Files\Acumatica ERP\TemporaryAspFiles[yourAppName]
have been removed or deleted for the speficic windows account, which is used by the ERP, and the temporary sub-folders can't be created without create permission. I can't see how it happened, but I noticed the strange behavior occurred after the last "major" windows update. See the screenshot for the proof.
Solution: re-apply the user account security for your application folder. That is how I fixed the publish problem on my end.
I have an issue trying to publish my customization project in the Customization Project Editor. The compilation panel remains completely in blank and I don't get any information.
See the screenshot below:
Can you help me with this?
You can check root cause and solution in this article:
https://community.acumatica.com/articles/382
This issue is caused by .NET version 4.8.4250. Workaround is to add the following key to appSettings section of your web.config.
<add key="aspnet:DisableAppPathModifier" value="false" />
I'm quite new to Android (and specifically Android Studio) development.
I tried to read several discussions of people with the same problem of mine.
I have followed 2 times the whole tutorial at: https://developers.google.com/maps/documentation/android/start
(with the only exception I didn't create a empty application but with a maps view)
I even tried to generate SHA1 various times
with different keystores
both debug and release types
tried to put API key directly as string or with reference to google_maps_api.xml in "values" folder.
as well as
regenerating API key
make a new project following again the whole procedure.
But I keep getting the error:
Failed to load map. Error contacting Google servers. This is probably an authentication issue (but could be due to network errors)
both on device (Nexus 5) and emulator AVD (Nexus 5).
Thanks in advance for any clue
There could be multiple cause,
first,
try to uninstall the app from your device
Clean the project
Install the project
It worked for me once,
if it doesn't work,
check that
<uses-feature
android:glEsVersion="0x00020000"
android:required="true" >
</uses-feature>
then check that <meta-data> is set correctlly in <application> tag.
Also try by adding following Permission
<uses-permission android:name="com.google.android.providers.gsf.permission.READ_GSERVICES"/>
I've been attempting to fix a problem I have with Test Explorer not showing tests when I'm in a different configuration environment. I make local environment changes by updating my app.config.
I have already tried a few steps found here and in other sites including cleaning my project, updating to the latest xUnit test runner, etc.
I am sure the reason is code/project based and not the Visual Studio environment itself. What I would like to know is whether or not there is a log file I can look at that would help me to determine why my tests are not showing. Or, is there another good method to troubleshoot errors with tests not showing up in Test Explorer?
There is a MSDN Blog post about this.
Essentially, you need to:
Go to folder %VSInstallDir%\Common7\IDE\CommonExtensions\Microsoft\TestWindow
Find the config file for the process you want to debug (e.g. vstest.console.exe.config, vstest.discoveryengine.exe.config, etc)
Alter the config file system.diagnostics node to include:
<system.diagnostics>
<switches>
<add name="TpTraceLevel" value="4" />
</switches>
</system.diagnostics>
Close VisualStudio, open it again, and discover/run tests from TestExplorer Window
Look for logs under %temp%[processname].TpTrace.log (e.g. vstest.console.tptrace.log)