android studio can't open the design pattern of navigation file - android-studio

I'm using the android studio to design the app.
i want to create a navigation file in the app. but when i opened the file, it kept showing loading. the design pattern maybe appear some bugs???
how to solve it?
i don't think this is caused by the bad internet and tend think this is a IDE's error. i'm sure that it worked well in last month's edition.
<navigation xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="#+id/homepage">
</navigation>

Your navigation XML file is empty so I am not sure what you are expecting to see. The navigation design view is pretty heavy and can sometimes be bugged but it just visualizes the XML, you don't really need it to create your navigation system.
You can try "invalidate cache & restart" and "Clean project" options on Android Studio as they might fix the issue. But you probably should put something in you r XML file first.

Related

Configure Kotlin Notification In Android Studio made rendering preview

I applied this notification without knowing what it does. Now UI is missing. It says "Some issues were found while trying to render this preview" while preview and when I run app, It shows a blank surface. How and Where can I configure this?
Finally I find what the notification changes in the project.
when I apllied notificitaion , it adds build.gradle:app to this twice like below.
implementation 'androidx.core:core-ktx:+'
implementation 'androidx.core:core-ktx:+'
Although I have already implemented this
'androidx.core:core-ktx:1.9.0'
This leads rendering problem.

Visual Studio 2017 won't open websites in browser tabs anymore

I recently had some of my Visual Studio 2017 settings change on me due to a lisence renewal. One in particular is that I used to have VS configured to open different websites in different tabs of the same browser instance. Now the websites open in separate browser instances.
I fixed this problem once before but the same fix no longer works. Here is the link which helped me fix my problem before:
Open site in new tab of existing Chrome instance when debugging
The image they have for Tools > Options > Debugging > General ... looks like this:
Mine looks slightly different:
Microsoft must have made some updates since the above link was posted because not only do I see differences in the Options window but leaving "Enable Javascript..." unchecked no longer works.
What is the current way of getting multiple web apps to show up in different tab of the same browser instances rather than in separate browser instances?
I have faced same issue today in vs 2017. To solve this problem simple follow below steps:
1) Click on Tool => options
2) Find Projects and Solutions on left side
3) Extend Projects and Solutions => Click on Web Projects
4) On right side you will see some option you need to uncheck: Stop debugger when browser window is closed,
close browser when debugging stops
Note: It is 2nd last option from bottom.
I think it will help you!

DropZone in ASP.NET MVC5 project

I try to use dropzone.js in my project. I implemented it excactly according to this example. I am totaly pissed off because after drag and drop the files are uploaded however the page is refreshed and the preview images disappear. Did anyone meet this problem?
Maybe my question deserves downwote but I hope this answer saves someone from the same struggle. After a little research I found that the problem causes new visual studio feature Browser link. For some reason after successful image uploading browser link invoked page refresh so ofcourse I lost image previews. This was unexpectable behavior.

Too many logs in AndroidStudio

When I launched my project,
too many logs occurred so that I cannot read logs well really I must read.
While I've searched some answer to this problem,
I heard that there is a mini toggle button at the top of Logcat toolbar.
But I cannot find that toogle button anywhere.
I tried Logcat filter(regex),
but I think there is some other easy ways to see logs well like Eclipse without doing any hard work.
Please let me know how to see my own needed logs in Android Studio.

Glimpse HUD not showing

I am trying to integrate Glimpse into my existing ASP.NET MVC 5 project. But I cannot see any HUD at bottom right corner as demonstrated in their site. I have all of the assemblies downloaded from NuGet, using Visual Studio 2013 Ultimate and running in localhost.
Can anyone tell me what could be the problem? I am not finding any relevant topic online either.
#Md.lbrahim by looking at the comment replies of you above, it seems that Glimpse is indeed active and rendering its <script> tags.
Can you check with the browser developer tools whether the Glimpse client is actually rendered at the bottom but maybe hidden by another element that has a higher z-index?
If you still can't get the HUD to show up, then maybe create an issue on our issue tracker and try to provide as much details as possible (browser used, versions, other installed packages that might interfere with Glimpse rendering etc...)

Resources