https://stackoverflow.com/questions/54461288/installation-failed-with-message-error-android-os-parcelableexception-java-io

 

Installation failed with message Error: android.os.ParcelableException: java.io.IOException: Requested internal only, but not en

I was getting the message > Installation failed with message Failed to establish session. so following some responses to the problem I disabled Instant Run and I started getting > Install...

stackoverflow.com

 

 

설치하려던 곳의 용량이 부족하다.

설치된 앱 용량을 살펴보고 

용량을 확보하자.

반응형

fatal: Unable to create ~~~~ 
fatal: Unable to create '~~~~ /.git/index.lock': File exists.

Another git process seems to be running in this repository, e.g.
an editor opened by 'git commit'. Please make sure all processes
are terminated then try again. If it still fails, a git process
may have crashed in this repository earlier:
remove the file manually to continue.'~~~~ .git/index.lock': File exists.

Another git process seems to be running in this repository, e.g.
an editor opened by 'git commit'. Please make sure all processes
are terminated then try again. If it still fails, a git process
may have crashed in this repository earlier:
remove the file manually to continue.

 

 

 

소스트리를 사용하는데 커밋이 안된다.

 

뭔가 다른 프로그램에서 깃연동된것때문에 충돌이 됐나보다

 

.git/index.lock 파일을 삭제하니 동작한다

 

 

반응형

'메모' 카테고리의 다른 글

링크 NestJS로 배우는 백엔드 프로그래밍  (0) 2022.03.30
Decodeable ????????????????????????????????????  (0) 2022.03.21
RIBs  (0) 2021.12.28
단어저장용2  (0) 2020.04.14
저장용...  (0) 2020.04.14

Attempted to scroll the collection view to an out-of-bounds item (0) when there are only 0 items in section 0.

 

늦은 업데이트를 진행하였고 시뮬레이터가 15.2가 되었다.

회사 프로젝트를 돌려보던중 시뮬레이터에서 위와 같은 에러가 나면서 종료가 되고있다.

 

내용만 봐선 "아이템이 0인데 스크롤을 0으로 하려고한다 그러지마 "  라며 친절히 문제되는 부분을 알려주지만

 

이전에는 됐는데?

 

참담한 심정으로 콜렉션뷰의 스크롤하는 부분

      self.collectionView.scrollToItem

부분을

if (.count != 0 ) 를 걸어주어 0 이후에 변경될때만 호출해주도록 변경하였다.

 

동작은 한다

 

뭔가 미묘한 기분

반응형

https://stackoverflow.com/a/26575808/12803800

 

Square layout on GridLayoutManager for RecyclerView

I try to make a grid-layout with square images. I thought that it must be possible to manipulate the GridLayoutManager by manipulating onMeasure to do a super.onMeasure(recycler, state, widthSpec,

stackoverflow.com

 

어쩌다 이러고 있는지 모르겠지만

안드로이드 앱을 작성하고있습니다.

뭐가 뭔지 하나도 모르고 

책도 한권없는 상태라 막막해서 주먹구구식으로 이런게 필요하겠지 라면서 

iOS 짜듯이 짜보고 있는데

도저히 RecyclerView의 GridLayoutManager를 넣었을때 정사각형으로 나오질 않아 다 집어 던지고 도망가고 싶어질때쯤

이러한걸 만들어주시는 고마운분을 발견해 이렇게 글을 씁니다.

 

고마워요...

반응형

'Android' 카테고리의 다른 글

Installation failed with message Failed to establish session.  (0) 2022.02.11

https://www.viget.com/articles/animated-ios-launch-screen/

 

Animate Your iOS Splash Screen | Viget

Learn how to animate iOS launch screens however you want!

www.viget.com

 

반응형

https://github.com/raywenderlich/swift-algorithm-club

반응형

vscode 에서 rn을 작성하고있다보면 보이는 이 js 파일 로고...

이걸 굳이 jsx로 확장자를 변경해보면 

이런 멋진! 리액트 로고가 된다.

굳이 해줄 필요는 없어 보이나

난 이 로고로 작성해나가고 싶어서 jsx 파일 지원에 대한 글을 작성해본다.

 

우선 rn프로젝트 루트에서 지원되는 확장자를 따로 작성해줘야한다.

 

metro.config.js 파일에 해당 내역을 작성해주면된다.

 

참고로 sourceExts영역은 md파일이라던가 뭔가 다른 확장자를 가진 애를 가져올때 적어주면된다.

 

module.exports = {
  transformer: {
  	...
  },
  resolver: {
    sourceExts: ['jsx', 'js'], //add here
  },
};

 

사실 이 metro설정에도 우선 적용되는 단계가 있다고한다만 그냥 여기다가 적자...

만약 해당 파일이 없으면

package.json 파일에 metro영역을 만들어 적용해주자

 

자세한 방법은 공식 도큐먼트를 봅시다...

https://facebook.github.io/metro/docs/configuration/#resolver-options

 

Configuring Metro | Metro

A Metro config can be created in these three ways (ordered by priority):

facebook.github.io

 

 

A Metro config can be created in these three ways (ordered by priority):

  1. metro.config.js
  2. metro.config.json
  3. The metro field in package.json

You can also give a custom file to the configuration by specifying --config <path/to/config> when calling the CLI.

 

 

 

반응형

'React Native' 카테고리의 다른 글

rn fcm messaging error code 번역  (0) 2023.04.26
rn 에서 android 뷰 사용하기.  (0) 2022.03.02
UI Test를 위해 Detox를 적용해본다. -iOS  (0) 2021.12.15
npm install을 주의하라  (0) 2021.10.22
npm version downgrade  (0) 2021.07.12

https://github.com/uber/RIBs/wiki/iOS-Tutorial-1

반응형

'메모' 카테고리의 다른 글

링크 NestJS로 배우는 백엔드 프로그래밍  (0) 2022.03.30
Decodeable ????????????????????????????????????  (0) 2022.03.21
Git: Sourcetree에서 커밋이 안된다.  (0) 2022.02.07
단어저장용2  (0) 2020.04.14
저장용...  (0) 2020.04.14

+ Recent posts