Android project javax. annotation. Nullable cannot find the alternative solution, androidnullable

Source: Internet
Author: User

Android project javax. annotation. Nullable cannot find the alternative solution, androidnullable

Http://androidren.com/index.php? Qa = 315 & qa_1 = android % E5 % B7 % A5 % E7 % A8 % 8B % E4 % B8 % ADjavax-annotation-nullable % E6 % 89% BE % E4 % B8 % 8D % E5 % 88% B0 % E7 % 9A % 84% E6 % 9B % BF % E4 % BB % A3 % E6 % 96% B9 % E6 % A1 % 88

In some open-source Android libraries, the following reference cannot be found: import javax. annotation. nonnull; import javax. annotation. nullable; in fact, Android Implements similar javax annotations, which can be replaced by the following reference: import android. support. annotation. nonNull; import android. support. annotation. nullable; of course, the latter must be imported into the database statement: dependencies {compile 'com. android. support: support-annotations: 21.0.2 '}

 


Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.