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 사용하기