| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | ||||||
| 2 | 3 | 4 | 5 | 6 | 7 | 8 |
| 9 | 10 | 11 | 12 | 13 | 14 | 15 |
| 16 | 17 | 18 | 19 | 20 | 21 | 22 |
| 23 | 24 | 25 | 26 | 27 | 28 | 29 |
| 30 |
- Java
- ndkVersion
- Compose
- NDK
- Kotlin
- VM arguments
- data binding
- Jetpack
- boot
- gradle
- 3rd framework
- Swift
- 3rd part
- BindingAdapter
- mac
- Chat GPT
- xcframework
- buildconfigfield
- Eclipse
- defaultconfig
- Framework
- arm-linux-androideabi
- IOS
- AOS
- Andorid
- EditText
- Android
- DispatchQueue
- retrofit
- Registering an InstanceCreator with Gson for this type may fix this problem
- Today
- Total
목록dev (49)
grape
private var _value = MutableLiveData() val value: LiveData get() = _value @={viewmodel.value} solution var value = MutableLiveData() @={viewmodel.value} or private var _value = MutableLiveData() val value: LiveData get() = _value private var value = MutableLiveData() @={viewmodel.value.member} Sample/app/build/generated/ap_generated_sources/debug/out/com/test/testapp/DataBinderMapperImpl.java:9:..
수정후 implementation 'androidx.core:core-ktx:1.8.0' implementation 'androidx.lifecycle:lifecycle-livedata-ktx:2.5.1' implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.5.1' 수정 implementation 'androidx.core:core-ktx:1.8.0' implementation 'androidx.lifecycle:lifecycle-livedata-ktx:2.6.1' implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.6.1' Duplicate class kotlin.collections.jd..
viewmodel binding 할 때 필요한 implementation implementation 'androidx.activity:activity-ktx:1.2.0' import androidx.activity.viewModels private val viewmodel : MainViewModel by viewModels() ps activity-ktx 와 의존성이 있는 다른 *-ktx로 대체가 가능하다. implementation 'androidx.activity:*-ktx:1.2.0'
android studio 최초 설치 후 구버전 Project를 Load시 Gardle Sync를 성공하였지만 Build를 할수 없는 상태에서 오류를 찾다가 Run -> Edit Configurations에서 module not specified 오류가 발견 되는 경우가 있다. 방법1 Buidl.gadle 을 설치된 버전으로 변경. compileSdkVersion buildToolsVersion 방법2 Tool -> SDK Manager -> andorid SDK Project에서 설정한 buildToolsVersion 버전 설치 한다
환경 VS2015 설치 VS2015 설치 Xamrain 추가 설치 제어판 -> 프로그램 -> 프로그램제거 -> VS2015(마우스 오른쪽) -> 변경 -> 다음 -> 수정 -> 플렛폼 간 모바일 개발 체크 -> 업데이트 사용자 SDK 경로 설정 도구->옵션->Cross Platform->C++->Android
android studio update The latest android studio update uses gradle 7.x. When loading a project that uses gradle 5.x or lower, follow the guide. use gradle build java 17.x error message Unsupported Java. Your build is currently configured to use Java 17.0.6 and Gradle 5.4.1. Possible solution: - Upgrade Gradle wrapper to 7.x version and re-import the project If choose Upgrade Gradle wrapper to 7...
void requestGPT(final String requestText){ new Thread(new Runnable() { @Override public void run() { // TODO Auto-generated method stub String domain ="https://api.openai.com/v1/chat/"; GPTRetrofitInterface mRetrofitInterface = RetrofitGPT .getClient(domain).create(GPTRetrofitInterface.class); try { gptBody body = new gptBody(); body.model = "gpt-3.5-turbo"; body.messages[0].role = "user"; body...
Request Body import com.google.gson.annotations.SerializedName; public class GptCall { @SerializedName("model") public String model; @SerializedName("messages") public messages messages; @SerializedName("max_tokens") public String max_tokens; public class messages { public String role; public String content; } } Request Body Json String Example //String json = "{\"model\": \"gpt-3.5-turbo\", \"m..