How to create different layout compatible for Android Tablet - android

I am developing application for Android3.0 which must be compatible for all tablet size. When i googled for my problem i got a solution as in below link
Multiple Screen Resoultion
When i am trying this, i got another problem as showing error as "w600dp, Portrait Orientation' is not a best match for any device/locale combination"
For this problem i have googled and got the final solution as in following link as Eclipse spits out a cryptic error message. What ever i have tried i didnt solve my problem
Can anyone please give me solution.
Thanks in advance..

Related

Unable to serialize DslActivationStatus state...Android Studio

If this is a stupid question because I made some terrible mistake, please let me know. Anyways, I just encountered the error and after searching on internet for quite some time, the only similar error that I could find was here But my situation was different.
1). I tried to create a new project from File menu of a previous project.
2). I clicked on Basic Activity and selected mininimum supported API to be 19.
3). I was following this tutorial by Google Developers.
4). I was previously able to successfully build and run from Empty Templates, but now, even they show this same error.
Here are two screenshots: Error & Window
I have tried to restart computer. I have NOT yet tried to download and re-install Android Studio yet. I do not know of any good troubleshooting besides restarting computer; so, if someone wants to share some tips, please be kind enough to do it.
I have not edited or tried to do anything in the automatically created project. I have not editted any file, until I noticed that even #color/primaryColor could not be resolved. So, I went on to look into the res/values/color file and found out that it had no color values in it, instead there was a single line: androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-au. So, I checked further, and found out that many of the automatically generated files had several errors in them.
I am on a Windows 10 machine. Please help, if this question needs to be edited, please let me know. Thanks a lot in advance.

Strange lines appearing on Android Studio design view

Personally I have no problem with Android Studio, but one of the people on my course is having a strange problem with the design view. Lines and boxes keep appearing and are causing problems and after researching profusely for the last couple of hours I've been able to find no mention of what they are or how to get rid of them anywhere on the internet.
I found one other stack overflow post about these that had been submitted a couple of months ago, however it unfortunately featured no replies. I've added the screenshot from this post just to save me getting one but it's the same problem.
Does anybody know how to get rid of these? Or what they are? Because they don't show on my Android Studio.
The screenshot
Thanks in advance.
maybe it just some bugs appeared on install?
Try to just:
1. File - > clear cache and exit
2. Reinstall studio
3. Install studio 3.0 in early access
Hope it will help)

Android Studio preview rendering issue layout

I hope someone can help me with my Android Studio preview. I can't get the normal cell phone preview, but instead I get a rendering problem. I am not sure how to fix this and can't find any good solutions that seem to work.
Which layout should I pick? I have provided a screenshot of the problem:
Thanks in advance!
This is only a warning from Google maps fragment, you can ignore it clicking 'Do not warn about...'
From here:
https://stackoverflow.com/a/23899667/6437300

Android App Failed To Load On Blackberry Z10

Okay, let me first apologize by saying this is my first post on stackoverflow and haven't been coding that long so this may be a simple error on my part. Also let me thank you ahead of time for trying to help me. So this is basically what is ailing me, I have a app i have coded that is used to set wallpapers on android phones and recently have been submitted to blackberry's appworld.
I have never had any issue with the app until the other day when all of a sudden when i changed the package name to a new one. Note this is of a fresh install of the app. But for some reason the Blackberry Z10 is opening the app for about a second and shows me a black screen for less then a second and then close. However, my eclipse's logcat states otherwise and that it is still loading. Note that I have other apps using the same setup and library as this app and also have recently changed their package names and haven't run into this problem. Also this only happens on Blackberry Phones and doesnt give me this issue on any normal android phones.
Here is my logcat: http://pastebin.com/EzD6eQaU
If you have any idea why this is happening please let me know.
Thank you again,
Dalton
It took a while but i found out what was my issue. Blackberry has a package name character limit of at least 50 characters long. Any more then that and your app wont work on blackberry.

Failure to upload HellowWorld.apk to AVD, using IntelliJ

I'm trying to create and run a simple HelloWorld Android application using IntelliJ, but it fails to start - the AVD window displays but the application fails to load. Here's the output I receive:
This is my first attempt at writing an Android application. I followed this very helpful tutorial to get this far, but I'm struggling to find more information regarding this error.
Any help would be greatly appreciated. Many thanks in advance.
The issue was with the size of the internal storage I specified for my AVD. I had 16GB - based on the HTC One S. After resetting this to the default 200MB, it worked.
Unfortunately, I don't know why exactly this causes the error I received... if anyone can provide insight into it, I'd love to know. Even simply why 16GB seems to be to much.

Categories

Resources