'2020/06/03'에 해당되는 글 2건

  1. 2020.06.03 안드로이드 retrofit2 사용하기
  2. 2020.06.03 돌이켜보니.. 다이소 꿀템
Programming/android2020. 6. 3. 22:55

AndroidManifest.xml 에 internet 사용하도록 추가하는 위치

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.example.rpirc">

    <uses-permission android:name="android.permission.INTERNET"/>

    <application
        android:allowBackup="true"
        android:icon="@mipmap/ic_launcher"
        android:label="@string/app_name"
        android:roundIcon="@mipmap/ic_launcher_round"
        android:supportsRtl="true"
        android:theme="@style/AppTheme">
        <activity android:name=".MainActivity">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />

                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
    </application>

</manifest>

[링크 : https://slobell.com/blogs/48]

 

build.gradle (Module: app) 에 추가해야 한다.

dependencies {
    implementation fileTree(dir: 'libs', include: ['*.jar'])

    implementation 'androidx.appcompat:appcompat:1.1.0'
    implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
    implementation 'com.squareup.retrofit2:retrofit:2.6.1'
    implementation 'com.squareup.retrofit2:converter-gson:2.6.1'
    testImplementation 'junit:junit:4.12'
    androidTestImplementation 'androidx.test.ext:junit:1.1.1'
    androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
}

[링크 : https://re-build.tistory.com/14]

 

일단은 빌드 까진 문제 없으니.. 됐고

이제 인터페이스 구현하면 되려나?

 

[링크 : https://medium.com/@joycehong0524/android-studio-retrofit2-기본-사용법-retrofit-의문점-풀어헤치기...d]

2020/05/29 - [Programming/android] - 안드로이드 retrofit 사용하기

Posted by 구차니

오늘도 어제 주워온 KTX 열차 장난감 고치는데 쓰고

부러진 피규어 목 붙이는데 쓰고 최고네 ㅋ

'개소리 왈왈 > 육아관련 주저리' 카테고리의 다른 글

3주 만에 온 택배  (2) 2020.06.21
이사 준비  (2) 2020.06.20
응급실 다녀옴  (6) 2020.05.30
NFC 태그 (신비 아파트 피규어)  (0) 2020.05.28
강림/하리 피규어 구매 ㅋㅋ  (0) 2020.05.27
Posted by 구차니