Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

안녕하세요...xml파일에서 오류나요ㅜㅜ #23

Closed
imniimni opened this issue Jan 6, 2015 · 4 comments
Closed

안녕하세요...xml파일에서 오류나요ㅜㅜ #23

imniimni opened this issue Jan 6, 2015 · 4 comments

Comments

@imniimni
Copy link

imniimni commented Jan 6, 2015

ScalableLayout임포트하고요 xml샘플 그대로넣어봤는데요..텍스트뷰랑랑 이미지뷰 부분에서 전부 에러뜨네요ㅜ.ㅜAttribute is missing the Android namespace prefix 이에러요!!오타도 한개도 없는데..오ㅐ이러는걸까요 도와주시면 감사하겠습니다!

@imniimni
Copy link
Author

imniimni commented Jan 6, 2015

ㅇㅏ..메니페스트에 xmlns:sl="http://schemas.android.com/apk/res/com.ssomai.android.scalablelayout"
이거추가하니까 저 에러는 없어졌네요.......근데데 또다른 에러가 생겼어요..ㅠ.ㅠ
<com.ssomai.android.scalablelayout.ScalableLayout 이부분에 parsing XML: unbound prefix
이 에러가 나네요....이건 왜일까요ㅜㅠ

@ssomai
Copy link
Owner

ssomai commented Jan 6, 2015

안녕하세요~

혹시 Android Studio 쓰시나요?
그럼 dependencies에

dependencies {
    compile 'com.ssomai:android.scalablelayout:2.0.0'
}

만 추가하시면 사용하시기 편하실거에요~.

그리고 eclipse 쓰시고, 소스를 그대로 import하신거면, 거기서 고치셔야 되는부분이
xmlns:sl="http://schemas.android.com/apk/res/<com.ssomai.android.scalablelayout>"
<com.ssomai.android.scalablelayout> 이 부분입니다~
이 쪽은 개발하시는 앱의 app package를 넣으시면 됩니다~.

해보시고 또 안되시면 알려주세요~

@imniimni
Copy link
Author

imniimni commented Jan 7, 2015

오!!!!이클립스였고요 해결했어요!!!!프로젝트주소.ScalableLayout 쓸때 대문자로 쓰면 되요!!!ㅜㅜ그냥 철자오류였나봐요ㅠㅠ............
정말정말감사합니다!!!1ㅜㅜㅜㅜ만수무강하세요!!!

@ssomai
Copy link
Owner

ssomai commented Jan 7, 2015

아하 다행이네요! ㅎㅎ 감사합니다~ ^^
개발자님도 만수무강하세요 ㅎㅎ

@ssomai ssomai closed this as completed Jan 7, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants