-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
57 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,47 @@ | ||
- [X] 도서상풍권 등록 | ||
- [ ] production console.* console.log 제거 | ||
- [X] production console.* console.log 제거 | ||
+ `babel-plugin-transform-remove-console` | ||
- `production` 에서만 지우도록한다 | ||
|
||
- [[../react-native|react-native]] [[../android|android]] 빌드시 에러 react-native-config 와 충돌 | ||
```sh | ||
> Task :app:stripDevDebugSymbols | ||
Unable to strip the following libraries, packaging them as they are: libc++_shared.so, libcrashlytics-common.so, libcrashlytics-handler.so, libcrashlytics-trampoline.so, libcrashlytics.so, libfabricjni.so, libfb.so, libfbjni.so, libfolly_runtime.so, libglog.so, libglog_init.so, libhermes.so, libhermes_executor.so, libhermesinstancejni.so, libimagepipeline.so, libjscinstance.so, libjserrorhandler.so, libjsi.so, libjsijniprofiler.so, libjsinspector.so, liblogger.so, libmapbufferjni.so, libnative-filters.so, libnative-imagetranscoder.so, libreact_codegen_rncore.so, libreact_config.so, libreact_debug.so, libreact_nativemodule_core.so, libreact_newarchdefaults.so, libreact_render_animations.so, libreact_render_attributedstring.so, libreact_render_componentregistry.so, libreact_render_core.so, libreact_render_debug.so, libreact_render_graphics.so, libreact_render_imagemanager.so, libreact_render_leakchecker.so, libreact_render_mapbuffer.so, libreact_render_mounting.so, libreact_render_runtimescheduler.so, libreact_render_scheduler.so, libreact_render_telemetry.so, libreact_render_templateprocessor.so, libreact_render_textlayoutmanager.so, libreact_render_uimanager.so, libreact_utils.so, libreactnativeblob.so, libreactnativejni.so, libreactperfloggerjni.so, librninstance.so, librrc_image.so, librrc_legacyviewmanagerinterop.so, librrc_native.so, librrc_root.so, librrc_scrollview.so, librrc_text.so, librrc_textinput.so, librrc_unimplementedview.so, librrc_view.so, libruntimeexecutor.so, libturbomodulejsijni.so, libuimanagerjni.so, libyoga.so. | ||
|
||
> Task :app:extractDevNativeSymbolTables | ||
> Task :app:mergeDevNativeDebugMetadata NO-SOURCE | ||
> Task :app:processDevResources | ||
|
||
> Task :app:compileDevKotlin FAILED | ||
e: file:///android/app/src/main/java/ro/[PROJECT_NAME]/app/MainApplication.kt:29:58 Type mismatch: inferred type is String but Boolean was expected | ||
|
||
> Task :app:optimizeDevResources | ||
> Task :app:mergeExtDexDev | ||
|
||
FAILURE: Build failed with an exception. | ||
|
||
* What went wrong: | ||
Execution failed for task ':app:compileDevKotlin'. | ||
> A failure occurred while executing org.jetbrains.kotlin.compilerRunner.GradleCompilerRunnerWithWorkers$GradleKotlinCompilerWorkAction | ||
> Compilation error. See log for more details | ||
|
||
* Try: | ||
> Run with --stacktrace option to get the stack trace. | ||
> Run with --info or --debug option to get more log output. | ||
> Run with --scan to get full insights. | ||
> Get more help at https://help.gradle.org. | ||
|
||
Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0. | ||
|
||
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins. | ||
|
||
For more on this, please refer to https://docs.gradle.org/8.3/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation. | ||
|
||
BUILD FAILED in 20s | ||
715 actionable tasks: 603 executed, 112 up-to-date | ||
|
||
``` | ||
- 해당 파일에 가보면 `DEBUG` 변수를 이미 사용하고 있다 이로인해서 `.env*` 에 `DEBUG` 를 선언하면 `Boolean` 타입 대신 `string` 이 주입되면서 위 에러가 발생하게된다, 변수 명 수정필요 | ||
```kotlin | ||
override fun getUseDeveloperSupport(): Boolean = BuildConfig.DEBUG | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters