Bài viết này viết một cách ngắn gọn về cài đặt môi trường để phát triển các dự án ionic trên môi trường hệ điều…
Xem thêm Cài đặt môi trường lập trình IONIC trên WindowsCategory: Ionic
Các nội dung chia sẻ liên quan đến việc phát triển các ứng dụng di động đa nền tảng với Ionic Framework
API Graph v2.12 của facebook sẽ ngừng hoạt động vào tháng 5 năm 2020
Vào ngày 06/04/2020, Facebook thông báo rằng phiên bản API Graph v2.12 sẽ bị ngừng hoạt động vào tháng 5/2020. Để thích nghi với sự…
Xem thêm API Graph v2.12 của facebook sẽ ngừng hoạt động vào tháng 5 năm 2020Khắc phục lỗi “Error from apksigner: ERROR: JAR_SIG_NO_SIGNATURES: No JAR signatures” khi publish ứng dụng trên playstore
1. Mô tả lỗi Khi bạn thực hiện upload file ứng dụng cửa mình (dạng .apk hoặc .aab) thì nhận được thông báo lỗi như…
Xem thêm Khắc phục lỗi “Error from apksigner: ERROR: JAR_SIG_NO_SIGNATURES: No JAR signatures” khi publish ứng dụng trên playstoreKhắc phục lỗi:Failed to install ‘cordova-plugin-googleplus-fix’: CordovaError: Using “requireCordovaModule” to load non-cordova module “child_process” is not supported. Instead, add this module to your dependencies and use regular “require” to load it
1. Mô tả lỗi Khi tôi thực hiện lệnh add platform ionic cordova platforms add ios thì xuất hiện lỗi lúc install plugin googleplus-fix như sau:
1 2 3 4 5 6 7 8 9 10 |
Installing "cordova-plugin-googleplus-fix" for ios Google Sign-In prerequisites Failed to install 'cordova-plugin-googleplus-fix': CordovaError: Using "requireCordovaModule" to load non-cordova module "child_process" is not supported. Instead, add this module to your dependencies and use regular "require" to load it. at Context.requireCordovaModule (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/hooks/Context.js:57:15) at module.exports (/Volumes/Data/Duc/dothicaolanh/app-mobile/plugins/cordova-plugin-googleplus-fix/hooks/ios/prerequisites.js:4:31) at runScriptViaModuleLoader (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/hooks/HooksRunner.js:181:32) at runScript (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/hooks/HooksRunner.js:157:16) at /usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/hooks/HooksRunner.js:125:20 at process._tickCallback (internal/process/next_tick.js:68:7) Using "requireCordovaModule" to load non-cordova module "child_process" is not supported. Instead, add this module to your dependencies and use regular "require" to load it. |
2. Cách…
Xem thêm Khắc phục lỗi:Failed to install ‘cordova-plugin-googleplus-fix’: CordovaError: Using “requireCordovaModule” to load non-cordova module “child_process” is not supported. Instead, add this module to your dependencies and use regular “require” to load itKhắc phục lỗi “‘GoogleSignIn/GoogleSignIn.h’ file not found” khi build ứng dụng Ionic sang Xcode Project
1. Mô tả lỗi: Khi build ứng dụng từ Ionic sang Xcode project bằng lệnh ionic cordova build ios --prod rồi sau đó dùng Xcode mở project tại thư…
Xem thêm Khắc phục lỗi “‘GoogleSignIn/GoogleSignIn.h’ file not found” khi build ứng dụng Ionic sang Xcode ProjectKhắc phục lỗi: CocoaPods could not find compatible versions for pod “GoogleMaps”
1. Mô tả lỗi Khi chạy lệnh install platform iso thì xuất hiện lỗi như sau:
1 2 3 4 5 |
[!] CocoaPods could not find compatible versions for pod "GoogleMaps": In Podfile: GoogleMaps (~> 2.7.0) Specs satisfying the `GoogleMaps (~> 2.7.0)` dependency were found, but they required a higher minimum deployment target. |
2. Cách khắc phục Để khắc phục lỗi…
Xem thêm Khắc phục lỗi: CocoaPods could not find compatible versions for pod “GoogleMaps”Cách build ứng dụng IOS sang XCODE trong IONIC
Sau đây là kinh nghiệm build ứng dụng phát triển trên nền tảng ionic ra platform ios xin được chia sẻ cùng các bạn. Bước 0:…
Xem thêm Cách build ứng dụng IOS sang XCODE trong IONICCách thêm Pods vào platform ios của project Ionic
1. Cài thư viện Cocoapods Nếu máy bạn chưa cài thư viện Cocoapods, thì trước tiên phải cài thư viện này bằng cách chạy lệnh sau:
1 |
sudo gem install cocoapods |
…
Xem thêm Cách thêm Pods vào platform ios của project IonicKhắc phục lỗi “Plugin doesn’t support this project’s cordova-ios version. cordova-ios: 4.5.5, failed version requirement: >=5.0.0”
1. Mô tả lỗi Khi bạn thực hiện lệnh build ionic cordova build ios thì xuất hiện thông báo lỗi sau:
1 |
Plugin doesn't support this project's cordova-ios version. cordova-ios: 4.5.5, failed version requirement: >=5.0.0 |
2. Cách khắc phục Để khắc phục…
Xem thêm Khắc phục lỗi “Plugin doesn’t support this project’s cordova-ios version. cordova-ios: 4.5.5, failed version requirement: >=5.0.0”Dùng Android Studio bug và fix các lỗi do việc chuyển đổi từ thư viện android sang androidx
Sau khi các bạn build project ionic bằng lệnh ionic cordova build android hoặc ionic cordova build android trong project sẽ sinh ra thư viện java của android tại thư mục platform/android/app/src/main/java…
Xem thêm Dùng Android Studio bug và fix các lỗi do việc chuyển đổi từ thư viện android sang androidxKhắc phục lỗi: “Program type already present: android.support.v4.app.INotificationSideChannel”
1. Mô tả lỗi Khi build ứng dụng, thì gặp lỗi “Program type already present: android.support.v4.app.INotificationSideChannel” như hình 1. 2. Cách khắc phục Để khắc…
Xem thêm Khắc phục lỗi: “Program type already present: android.support.v4.app.INotificationSideChannel”Khắc phục lỗi Executeion faild for task ‘app:mergeReleaseResources’
1. Mô tả lỗi Khi tôi thực hiện build release ứng dụng bằng lệnh ionic cordova build android --prod --release thì bị dính lỗi Executeion faild for task ‘app:mergeReleaseResources’ như hình 1.…
Xem thêm Khắc phục lỗi Executeion faild for task ‘app:mergeReleaseResources’