» 2019 » August の記事

1)clean project rebuild

2)restart android studio

3)File->Invalidate cache and restart

4)open android terminal
first time use Gradle have to change the permission
chmod +x gradlew
./gradlew compileDebugSource –stacktrace -info
then see the error for details

~ iOS Xcode project change development language ~

connie 2019.08.22 | ios, xcode | | No Comments

-close Xcode
-go to project folder
-find the xxx.xcodeproj, right click show package

find project.pbxproj and open with txt editor
and search developmentRegions and change it form en to zh-HK

reopen project and you will see Localization section, development language change to HK

Please add this to AndroidManifest.xml:
<uses-library
android:name="org.apache.http.legacy"
android:required="false" />

~ android fb sharesdk Failed to copy image. ~

connie 2019.08.01 | apache | | No Comments
看看androidManifest.xml 
有沒有加入android:exported="true"

<provider
android:name="com.facebook.FacebookContentProvider"
android:exported="true"<=======
android:authorities="com.facebook.app.FacebookContentProvider{APPID}" />
| HOME |

Smiley face

August 2019
S M T W T F S
« Jul   Sep »
 123
45678910
11121314151617
18192021222324
25262728293031