Skip to main content

Android 8 (API=26) error IllegalStateExceptions

https://github.com/flutter/flutter/issues/24287

https://www.codenong.com/cs110440941/


This guy explained in some Chinese, mean that you can fix it either by remove setting Orientation or tweak transparent setting.

Two problems encountered in android 8.0 (API=26) adaptation

(Horizontal screen orientation problem)

(1) Remove android:screenOrientation;

(Theme style)
(2) android:windowIsTranslucent is changed to false; if you need a transparent setting, add android:windowDisablePreview =true;

Create values-v26 / styles.xml in the res directory of the project ;

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<?xml version="1.0" encoding="utf-8"?>
<resources>

    <style name="AppTheme.Splash" parent="AppTheme">
        <item name="android:windowActionBar">false</item>
        <item name="android:windowNoTitle">true</item>
        <item name="android:windowFullscreen">true</item>
     
        <!-- 适配android手机系统8.0(api26),Only fullscreen opaque activities can request orientation -->
        <!--用背景图消除启动白屏-->
        <item name="android:windowBackground">@mipmap/qhao</item>
        <item name="android:windowIsTranslucent">false</item>
        <item name="android:windowDisablePreview">true</item>
    </style>
</resources>

.xml:21: AAPT: error: unexpected element <queries> found in <manifest>.


Comments

  1. Does Web Design Company help your brand to win in the global market?
    We go through many websites on daily basis on the internet. But some websites have captivating designs that remain in our minds for a long time. You can make your business stand out from the crowd by choosing Web Design and Web Development Company in USA. Engaging websites packed with intuitive userinterface and SEO strategies boost your business sales.
    Why choose professional web developers?
    Professional web developers help to design the most engaging and responsive websites. Apart from that, the other benefits of choosing professional web developers are as under:
    1. Use of latest technologies
    Several modern technologies help to design beautiful websites. They include Magento, PHP, Node.js, ReactJS, AngularJS, and so on. These web technologies help to create custom and user-friendly websites. They also perform better quality of work
    2. Simple web development process
    Web developers perform a simple process of web designing and development. They understand business goals and requirements. These web developers design websites according to the needs of the business. You can get many custom web development packages according to different industries.
    3. Accuracy in the work
    Experts in web development work with accuracy. They apply skills and creativity in every project to design the best websites. Besides, the experts also deliver work at the right time. They apply a professional approach while designing any website.
    4. Develop brand identity
    Responsive websites help to gather leads from various sources. Attractive websites help to build brand identity. They help you to promote your products and services among the customers.
    5. Nice UI/UX design for the website
    Experienced web developers give the best user experience by using information architecture and UI/UX designs. Customers will love to visit your websites, again and again, to navigate and find relevant products.
    6. Affordable prices
    Hiring Web Design and Web Development Company in USA is a cost-effective decision for a startup. You can choose customized packages for a small or large business according to your budget.
    Final words
    You can increase leads for your business and expand it widely through Web Design and Web Development Company in the USA. Web developers connect your websites to millions of online users. They also link your websites to various social media sites for growing business sales.
    If you want an intuitive and user-friendly website for your business, search for experienced web developers online from the search engines.

    ReplyDelete
  2. Side effects of cancer treatment - Uncancer

    There are several side effects cancer treatments and cancer can cause. When treatment affects healthy tissues or organs, side effects are unavoidable. These can be different for each person and for different medicines and kinds of treatment. Long-term side effects are rare in modern chemotherapy. Following are common side effects of cancer treatment:

    Nausea Vomiting

    Nausea and vomiting are very common side effects that can be caused by chemotherapy. They go away slowly during the recovery phase of the chemo cycle or after the end of treatment. Presumably, doctors prescribe medications to manage nausea and vomiting so this can be controlled.

    Fatigue

    Fatigue is another common side effect of chemotherapy. Some people notice that they feel a little more tired than usual during this post-chemo cycle. This fatigue goes away over time after treatment is finished.

    Mental Health

    Chemotherapy can affect mental health as some people may have a mild decline in the ability to think, learn, reason, and remember after chemotherapy. This condition is often called the chemo brain. It can take a few years to return to normal.

    Hair loss

    Chemotherapy can cause serious damage to hair follicles. It causes the hair to weaken, become brittle, and fall out. Even any hair that regrows after that may be of a different texture or color. This condition continues until the cancer treatment ends, after which hair almost always regrows.

    Neuropathy

    A nerve pain caused by damaged nerves is known as neuropathy. It causes tingling, numbness, and an unusual burning sensation to the hands and feet. Some people also experience weakness and pain during daily activities.

    Mouth sores

    After having a chemotherapy cycle, some people develop painful oral sore for 1-2 weeks. The sores may bleed or become infected and the soreness can vary in severity. Some people can try using non-abrasive toothpaste or numbing gel or rinse their mouth with warm saltwater.

    Constipation and diarrhea

    Cancer treatment like chemotherapy can trigger a bowel movement which causes constipation and diarrhea. Some people avoid foods that irritate the stomach. The diet includes fiber supplements and stool softener food which can make digestion smooth.

    These are the commonside effects of cancer treatment. If these side effects get worse then we suggest that you should rush to your doctor immediately.

    ReplyDelete
  3. This post is so helpfull and informative.keep updating with more information...
    Angularjs Concepts
    Angularjs Framework

    ReplyDelete
  4. On the Internet, I was happy to discover this installation.
    It was a wonderful read and I owe it to you at least once.
    It touched my interest a little and you kindly kept it.
    Become a fan of a new article on your site
    f secure online antivirus crack
    filebot crack
    kaspersky anti virus crack
    ezvid for pc crack
    videopad video editor crack
    hide all ip crack
    windows 10 pro education crack
    avast cleanup premium crack

    ReplyDelete
  5. Hello there, I just discovered your blog on Google, and I like it.
    is quite useful. I'll keep an eye out for brussels sprouts.
    If you keep doing this in the future, I will be grateful. A large number of people will profit.
    based on your writing Cheers!
    driver toolkit crack
    wondershare dr fone crack
    appsound forge pro crack
    abbyy finereader crack

    ReplyDelete

  6. Oh Wow! Great blog I must say. The thing I like most about your blog is the catchy words that you choose.
    I am also here to provide information about Roadrunner email problems and settings.
    If you or your colleague need any help regarding rr email then you may take information from us.
    We would greatly appreciate any advice or perspectives for potential bloggers, so feel free to contact me.
    Thanks!

    typing master crack
    bittorrent pro crack
    careueyes crack
    nordvpn crack
    dvdfab crack 3
    driver toolkit crack
    driver doctor crack
    freemake video converter crack
    videoproc crack
    mirillis action crack

    ReplyDelete

  7. Hello, I just discovered your blog on Google and I like it.
    it's quite handy. I'll look at the Brussels sprouts.
    If you continue to do so in the future, I will appreciate it. Many people will benefit from it.
    based on your writing Greetings. Thanks for sharing.
    pdf annotator crack
    pdf annotator crack
    pdf annotator crack
    pdf annotator crack
    pdf annotator crack
    pdf annotator crack
    pdf annotator crack

    ReplyDelete
  8. I am very impressed with your post because this post is very beneficial for me and provide a new knowledge to me.
    Thanks for sharing this post is an excellent article. Keep it up. I use the same blogging platform that you have and have.
    it Is Very Informative Thanks For Sharing. I have also Paid This sharing. I am ImPressed For With your Post Because This post is very.
    outbyte pc repair crack
    call of duty black ops crack
    red dead redemption 2 full pc game crack cpy torrent free 2021
    anno1800 full pc game crack cpy codex torrent free 2021
    tuxera ntfs
    advanced systemcare crack

    ReplyDelete
  9. A big thanks to you for sharing this with everyone you know who may be interested in this subject matter.
    My website is also available for your reference. We might be able to work together on a link trade deal.
    avast antivirus crack
    adobe photoshop lightroom cc crack
    adobe after effects cc crack latest

    ReplyDelete

Post a Comment

Popular posts from this blog

Rand mm 10

https://stackoverflow.com/questions/2447791/define-vs-const Oh const vs define, many time I got unexpected interview question. As this one, I do not know much or try to study this. My work flow, and I believe of many programmer is that search topic only when we have task or job to tackle. We ignore many 'basic', 'fundamental' documents, RTFM is boring. So I think it is a trade off between the two way of study language. And I think there are a bridge or balanced way to extract both advantage of two method. There are some huge issue with programmer like me that prevent we master some technique that take only little time if doing properly. For example, some Red Hat certificate program, lesson, course that I have learned during Collage gave our exceptional useful when it cover almost all topic while working with Linux. I remember it called something like RHEL (RedHat Enterprise Linux) Certificate... I think there are many tons of documents, guide n books about Linux bu

Martin Fowler - Software Architecture - Making Architecture matter

  https://martinfowler.com/architecture/ One can appreciate the point of this presentation when one's sense of code smell is trained, functional and utilized. Those controlling the budget as well as developer leads should understand the design stamina hypothesis, so that the appropriate focus and priority is given to internal quality - otherwise pay a high price soon. Andrew Farrell 8 months ago I love that he was able to give an important lesson on the “How?” of software architecture at the very end: delegate decisions to those with the time to focus on them. Very nice and straight-forward talk about the value of software architecture For me, architecture is the distribution of complexity in a system. And also, how subsystems communicate with each other. A battle between craftmanship and the economics and economics always win... https://hackernoon.com/applying-clean-architecture-on-web-application-with-modular-pattern-7b11f1b89011 1. Independent of Frameworks 2. Testable 3. Indepe