반응형

통신이 HTTPS프로토콜을 이용하여 접속할경우

리소스들( 이미지 )을 HTTP프로토콜로 불러올때 구글 자체에서 보안상 문제가 있다고 판단하여

안드로이드 LOLLIPOP ( 5.x )이상부터는 아래와 같이 로그가 나온다.

"This request has been blocked; the content must be served over"

 

이럴때는 아래와같은 코드로 적용.

WebSettings wsetting = m_webView.getSettings();

if(Build.VERSION.SDK_INT>= Build.VERSION_CODES.LOLLIPOP ) {
	wsetting.setMixedContentMode(WebSettings.MIXED_CONTENT_ALWAYS_ALLOW);
}

 

 

 

 

반응형
반응형

하드코딩 하지말라는 경고인데 타이틀 어노테이션을 적어주면 무시함.

 

 

반응형
반응형

If you are using Apple M1 chip

One of the release notes they have mentioned by jetpack (Version 2.4.0-alpha03 )

  • Fixed an issue with Room’s SQLite native library to support Apple’s M1 chips.

Change Version to 2.4.0-alpha03 or above

implementation "androidx.room:room-runtime:2.4.0-alpha03"
annotationProcessor "androidx.room:room-compiler:2.4.0-alpha03"
kapt 'androidx.room:room-compiler:2.4.0-alpha03'

Reference

https://developer.android.com/jetpack/androidx/releases/room#version_240_2

 

Room  |  Android 개발자  |  Android Developers

Room Room 지속성 라이브러리는 SQLite에 추상화 레이어를 제공하여 SQLite를 완벽히 활용하면서 더 견고한 데이터베이스 액세스를 가능하게 합니다. 최근 업데이트 안정적인 버전 출시 후보 베타 버

developer.android.com

 

 

Mac M1 은 2.4 이상을 설치 해야함. ?

반응형

+ Recent posts