| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 |
- DispatchQueue
- boot
- AOS
- Jetpack
- BindingAdapter
- Andorid
- xcframework
- IOS
- 3rd framework
- Swift
- Chat GPT
- retrofit
- 3rd part
- EditText
- defaultconfig
- Eclipse
- mac
- Compose
- data binding
- Android
- Kotlin
- buildconfigfield
- arm-linux-androideabi
- gradle
- ndkVersion
- NDK
- Java
- Framework
- VM arguments
- Registering an InstanceCreator with Gson for this type may fix this problem
- Today
- Total
목록Android (14)
grape
요약 defaultConfig { def buildTime = new Date() buildConfigField "String", "BUILD_TIME", "\"${buildTime.format('yyyy-MM-dd HH:mm:ss')}\"" } BUILD_TIME 정의android { compileSdk defaultConfig { applicationId minSdk targetSdk versionCode versionName def buildTime = new Date() buildConfigField "String", "App", BUILD_TIME", "\"${b..
Application components Intent interface를 통해 상호 작용이 가능 액티비티(Activity) - 사용자와 상호작용을 위한 진입점(화면) 서비스(Service) - 앱의 백그라운드 처리를 위한 진입점(interface) 방송 수신자(Broadcast Receiver) - 앱 외부인 시스템에서 전달되는 이벤트를 수신하기 위한 interface 콘텐츠 제공자(Content Provider) - 앱데이터 외부 제공을 위한 interface 액티비티 액티비티는 사용자와 상호작용하기 위한 진입점입니다. 이것은 사용자 인터페이스를 포함한 화면 하나를 나타냅니다. 예를 들어 이메일 앱이라면 새 이메일 목록을 표시하는 액티비티가 하나 있고, 이메일을 작성하는 액티비티가 또 하나, 그리고 이..
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
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..