- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
当我在设备上以 Debug模式运行应用程序时,一切正常,但是当我使用 --prod 构建并尝试运行时,它会卡住并且永远不会出现在启动画面之后。
我认为这可能与 Facebook 相关,我的应用程序有 Facebook 登录。
logcat 中有很多错误,但我不能在这里发布,因为文本太多。
01-14 16:11:49.014 5251-5251/? E/WebContentsProviderReceiver: onReceive - not approved application
--------- beginning of system
01-14 16:11:49.484 855-1058/? E/MARsDBManager: updateDBAll : begin --size 3
01-14 16:11:49.554 855-1058/? E/MARsDBManager: updateDBAll : end
01-14 16:11:49.674 6891-6891/? E/ActivityThread: Failed to find provider info for com.facebook.appmanager.nekodirect
01-14 16:11:50.214 5312-5312/? E/Zygote: v2
01-14 16:11:50.224 5312-5312/? E/Zygote: accessInfo : 0
01-14 16:11:50.714 5329-5329/? E/Zygote: v2
01-14 16:11:50.724 5329-5329/? E/Zygote: accessInfo : 0
01-14 16:11:52.354 5385-5385/? E/Zygote: v2
01-14 16:11:52.364 5385-5385/? E/Zygote: accessInfo : 0
01-14 16:11:52.694 5385-5400/? E/SPPClientService: ShipBuild Binary : True
01-14 16:11:52.954 5329-5376/? E/GraphResponse: {HttpStatus: 400, errorCode: 100, subErrorCode: 33, errorType: GraphMethodException, errorMessage: Unsupported get request. Object with ID '181349075940707' does not exist, cannot be loaded due to missing permissions, or does not support this operation. Please read the Graph API documentation at https://developers.facebook.com/docs/graph-api}
01-14 16:11:54.154 5312-5422/? E/HealthAnalytics: [HAnalytics] checkMandatoryProperty(), property ordinal : 1 is mandatory, but key is empty.
01-14 16:11:54.154 5312-5422/? E/HealthAnalytics: [HAnalytics] checkMandatoryProperty(), property ordinal : 2 is mandatory, but key is empty.
01-14 16:11:54.154 5312-5422/? E/HealthAnalytics: [HAnalytics] checkMandatoryProperty(), property ordinal : 3 is mandatory, but key is empty.
01-14 16:11:54.154 5312-5422/? E/HealthAnalytics: [HAnalytics] checkMandatoryProperty(), property ordinal : 4 is mandatory, but key is empty.
01-14 16:11:54.154 5312-5422/? E/HealthAnalytics: [HAnalytics] checkMandatoryProperty(), property ordinal : 5 is mandatory, but key is empty.
01-14 16:11:54.154 5312-5422/? E/HealthAnalytics: [HAnalytics] checkMandatoryProperty(), property ordinal : 6 is mandatory, but key is empty.
01-14 16:11:54.154 5312-5422/? E/HealthAnalytics: [HAnalytics] checkMandatoryProperty(), property ordinal : 7 is mandatory, but key is empty.
01-14 16:11:54.234 5329-5412/? E/File: fail readDirectory() errno=2
fail readDirectory() errno=2
01-14 16:11:54.244 5329-5412/? E/File: fail readDirectory() errno=2
这是我的项目配置:
± % ionic info !10
cli packages: (/usr/local/lib/node_modules)
@ionic/cli-utils : 1.19.2
ionic (Ionic CLI) : 3.20.0
global packages:
cordova (Cordova CLI) : 7.1.0
local packages:
@ionic/app-scripts : 3.2.0
Cordova Platforms : android 6.3.0 ios 4.5.5
Ionic Framework : ionic-angular 3.9.2
System:
Android SDK Tools : 26.1.1
ios-deploy : 2.0.0
ios-sim : 6.0.0
Node : v8.11.3
npm : 5.6.0
OS : macOS
Xcode : Xcode 10.1 Build version 10B61
插件:
± % cordova plugin list !11
com.googlemaps.ios 2.7.0 "Google Maps SDK for iOS"
com.telerik.plugins.nativepagetransitions 0.6.5 "Native Page Transitions"
cordova-plugin-add-swift-support 1.7.2 "AddSwiftSupport"
cordova-plugin-android-permissions 1.0.0 "Permissions"
cordova-plugin-camera 4.0.3 "Camera"
cordova-plugin-compat 1.2.0 "Compat"
cordova-plugin-console 1.1.0 "Console"
cordova-plugin-contacts 3.0.1 "Contacts"
cordova-plugin-device 2.0.2 "Device"
cordova-plugin-email-composer 0.8.15 "EmailComposer"
cordova-plugin-facebook4 3.1.0 "Facebook Connect"
cordova-plugin-file 6.0.1 "File"
cordova-plugin-geolocation 4.0.1 "Geolocation"
cordova-plugin-globalization 1.11.0 "Globalization"
cordova-plugin-googleplus 5.3.2 "Google SignIn"
cordova-plugin-ionic-keyboard 2.1.3 "cordova-plugin-ionic-keyboard"
cordova-plugin-ionic-webview 2.2.0 "cordova-plugin-ionic-webview"
cordova-plugin-linkedin 1.2.1 "LinkedIn"
cordova-plugin-mauron85-background-geolocation 2.3.6 "CDVBackgroundGeolocation"
cordova-plugin-media 5.0.2 "Media"
cordova-plugin-nativeaudio 3.0.9 "Cordova Native Audio"
cordova-plugin-nativegeocoder 3.1.2 "NativeGeocoder"
cordova-plugin-network-information 2.0.1 "Network Information"
cordova-plugin-splashscreen 5.0.2 "Splashscreen"
cordova-plugin-statusbar 2.4.2 "StatusBar"
cordova-plugin-streaming-media 2.2.0 "StreamingMedia"
cordova-plugin-whitelist 1.3.3 "Whitelist"
cordova-plugin-x-socialsharing 5.4.1 "SocialSharing"
cordova-sqlite-storage 2.5.0 "Cordova sqlite storage plugin"
es6-promise-plugin 4.2.2 "Promise"
ionic-plugin-keyboard 2.2.1 "Keyboard"
phonegap-plugin-barcodescanner 8.0.0 "BarcodeScanner"
phonegap-plugin-push 2.1.2 "PushPlugin"
twitter-connect-plugin 0.6.0 "Twitter Connect"
有什么话可以帮助我解决这个问题吗?
编辑 1:
01-15 13:25:28.461 27227-27227/jungery.bizcards.com E/Zygote: v2
01-15 13:25:28.471 27227-27227/jungery.bizcards.com E/Zygote: accessInfo : 0
01-15 13:25:28.671 20699-26051/? E/AudioRecord-JNI: Error -4 during AudioRecord native read
01-15 13:25:28.721 13572-13572/? E/audio_hw_primary: stop_voice_note_recording
01-15 13:25:28.721 13572-13572/? E/audio_hw_primary: adev_close_input_stream, set jack_in to null
01-15 13:25:29.581 27227-27283/jungery.bizcards.com E/libEGL: validate_display:255 error 3008 (EGL_BAD_DISPLAY)
01-15 13:25:29.881 27227-27300/jungery.bizcards.com E/File: fail readDirectory() errno=2
01-15 13:25:37.551 27371-27371/? E/Zygote: v2
01-15 13:25:37.561 27371-27371/? E/Zygote: accessInfo : 0
01-15 13:25:43.751 27371-27431/? E/GmsUtils: Failed to connect to Google API client: ConnectionResult{statusCode=API_UNAVAILABLE, resolution=null, message=null}
01-15 13:25:55.091 855-1675/? E/Watchdog: !@Sync 3530 [01-15 13:25:55.101]
01-15 13:26:09.811 26204-26204/? E/MTPRx: started activity for popup
01-15 13:26:09.931 27227-27227/jungery.bizcards.com E/ViewRootImpl: sendUserActionEvent() mView == null
01-15 13:26:09.991 26204-26204/? E/MTPUSBConnection: AlertDialog Mode is : TIMEOUT
01-15 13:26:12.321 335-410/? E/DataRouter: USB Interface is open with 0xa
01-15 13:26:12.321 26204-26309/? E/MTPRx: state from USB_STATE event DISCONNECTED
01-15 13:26:12.331 26204-26309/? E/MTPRx: stop observing and calling usbRemoved
01-15 13:26:12.331 26204-26309/? E/MTPRx: sendbooster is false!
In usbRemoved Status bar enabled
01-15 13:26:12.341 26204-26204/? E/MTPRx: Read Error Came false
Read Error Came so calling usbRemoved()
01-15 13:26:12.341 26204-26204/? E/MTPRx: sendbooster is false!
In usbRemoved Status bar enabled
01-15 13:26:12.351 26204-26309/? E/MtpMediaDBManager: updateMyfilesDB Count :0
01-15 13:26:12.361 26204-26309/? E/MTPRx: Sending Broadcast finish
01-15 13:26:12.371 26204-26204/? E/MtpMediaDBManager: updateMyfilesDB Count :0
01-15 13:26:12.421 26204-26204/? E/MTPRx: Sending Broadcast finish
01-15 13:26:12.441 26204-26204/? E/MtpService: onDestroy.
01-15 13:26:12.461 26204-26204/? E/MtpService: Unregister Mtp disable Receiver
Receiver not registered: com.samsung.android.MtpApplication.MtpService$1@bb3a597
Unregister mtpEmergencyReceiver
Receiver not registered: com.samsung.android.MtpApplication.MtpService$2@1bbb384
unregistering mtpUserPresentReceiver in UnregisterAllIntent
Receiver not registered: com.samsung.android.MtpApplication.MtpService$4@f789816
unregistering mtpMediaReceiver in UnregisterAllIntent
Receiver not registered: com.samsung.android.MtpApplication.MtpService$3@68dd931
01-15 13:26:12.461 26204-26204/? E/MTPJNIInterface: noti = 3
01-15 13:26:12.531 855-1306/? E/InputDispatcher: channel ~ Channel is unrecoverably broken and will be disposed!
01-15 13:26:12.921 27522-27522/? E/Zygote: v2
01-15 13:26:12.921 27522-27522/? E/Zygote: accessInfo : 0
01-15 13:26:12.981 27522-27522/? E/MTPRx: In MtpReceiverandroid.hardware.usb.action.USB_STATE
01-15 13:26:12.991 27522-27522/? E/MTPRx: check value of boot_completed is1
01-15 13:26:13.011 27522-27522/? E/MTPRx: Sd-Card path/storage/94AB-108D
Status for mount/Unmount :mounted
SDcard is available
01-15 13:26:13.011 27522-27522/? E/File: fail readDirectory() errno=2
01-15 13:26:13.011 27522-27522/? E/File: fail readDirectory() errno=2
01-15 13:26:13.011 27522-27522/? E/MTPRx: check booting is completed_sys.boot_completed
01-15 13:26:13.011 27522-27522/? E/MTPRx: Sd-Card path/storage/94AB-108D
01-15 13:26:13.021 27522-27522/? E/MTPRx: Status for mount/Unmount :mounted
SDcard is available
01-15 13:26:13.021 27522-27522/? E/MTPRx: Received USB_STATE with sdCardLaunch = 0
mFirstTime: false
01-15 13:26:13.051 27522-27522/? E/MTPJNIInterface: Getting CryptionKey from JAVA
01-15 13:26:13.061 27522-27522/? E/MTPRx: currentUserId is 0
mtpCurrentGlobalUserId is 0
Start observing USB_STATE_MATCH
usbMode is 0210
01-15 13:26:13.071 855-2261/? E/ENGMODE: Failed to enable UD-Mode(lecagy)
Failed to open token (-1)
Failed to read token(-12)
the req mode is not allowed (-12)
01-15 13:26:13.081 27522-27522/? E/MTPJNIInterface: noti = 12
01-15 13:26:13.081 27522-27522/? E/MTPRx: is_Privatemode is NOT 1
01-15 13:26:13.121 27522-27522/? E/MTPRx: Sending NORMAL_BOOT to stack
01-15 13:26:13.121 27522-27522/? E/MTPJNIInterface: noti = 17
01-15 13:26:13.131 27522-27522/? E/MTPRx: User is personal
sending MTP_ICON_ENABLED to stack
else part ... so first time!!!
01-15 13:26:13.131 27522-27522/? E/MTPPlaObsrvr: inside setContext()
inside createplafiles
01-15 13:26:13.141 27522-27522/? E/MTPPlaObsrvr: playlist count is0
inside try branch createplafiles
inside deleteing plas createplafiles
01-15 13:26:13.151 27522-27522/? E/MTPPlaObsrvr: Inside registerContentObserver
01-15 13:26:13.151 27522-27522/? E/MtpAdbObserver: inside setContext()
Inside registerContentObserver
01-15 13:26:13.151 27522-27522/? E/MtpService: onCreate.
< MTP > Registering BroadCast receiver :::::
Calling registerBroadCastuserPresentRec()
< MTP > Registering BroadCast receiver for USER Present:::::
01-15 13:26:13.161 27522-27522/? E/MtpService: < MTP > Registering BroadCast registerBroadCastPolicyRec :::::
< MTP > Registering BroadCast registerBroadCastEmergencyRec :::::
onStartCommand.
01-15 13:26:13.171 27522-27522/? E/MTPJNIInterface: < MTP > Registering BroadCast receiver :::::
< MTP > Registering BroadCast receiver :::::::
noti = 10
01-15 13:26:13.171 27522-27541/? E/MtpService: handleMessage. msg= { when=0 what=0 arg1=1 obj=Intent { cmp=com.samsung.android.MtpApplication/.MtpService } target=com.samsung.android.MtpApplication.MtpService$ServiceHandler }
01-15 13:26:13.171 27522-27522/? E/MTPRx: Checking the driver time out
01-15 13:26:13.171 27522-27522/? E/MTPJNIInterface: noti = 2
event handler thread is created, so set the flag
01-15 13:26:13.171 27522-27522/? E/MTPRx: called native method
01-15 13:26:13.171 27522-27522/? E/MTPJNIInterface: setting Media scanner status0
After setting Media scanner status0
01-15 13:26:13.171 27522-27522/? E/MtpService: onStartCommand.
01-15 13:26:13.171 27522-27544/? E/MTPJNIInterface: Getting media scanner status0
DeviceName is Satan
01-15 13:26:13.201 27522-27541/? E/MtpService: handleMessage. msg= { when=-13ms what=0 arg1=2 obj=Intent { cmp=com.samsung.android.MtpApplication/.MtpService } target=com.samsung.android.MtpApplication.MtpService$ServiceHandler }
01-15 13:26:13.221 3261-3261/? E/MtpServerJNI: could not open MTP driver, errno: 2
01-15 13:26:13.221 3261-3261/? E/MtpServerJNI: server is null in add_storage
01-15 13:26:13.221 3261-3261/? E/MtpServerJNI: server is null in add_storage
01-15 13:26:13.231 3261-3261/? E/MtpServerJNI: server is null in send_object_removed
01-15 13:26:13.231 3261-27547/? E/MtpServerJNI: server is null in run
server is null in cleanup
01-15 13:26:13.421 27522-27544/? E/MTPJNIInterface: Status for mount/Unmount :mounted
SDcard is available
01-15 13:26:13.531 27522-27544/? E/MTPJNIInterface: Status for mount/Unmount :unknown
SDcard is not available
Status for mount/Unmount :unknown
SDcard is not available
Status for mount/Unmount :unknown
SDcard is not available
01-15 13:26:13.551 27522-27544/? E/MTPJNIInterface: Status for mount/Unmount :mounted
SDcard is available
01-15 13:26:13.551 27522-27544/? E/SQLiteLog: (21) API call with NULL database connection pointer
(21) misuse at line 107734 of [2ef4f3a5b1]
(21) API call with NULL database connection pointer
(21) misuse at line 102845 of [2ef4f3a5b1]
(21) API call with NULL database connection pointer
(21) misuse at line 102845 of [2ef4f3a5b1]
(21) API call with NULL database connection pointer
(21) misuse at line 107734 of [2ef4f3a5b1]
01-15 13:26:14.141 27522-27522/? E/MTPJNIInterface: In MTPJNIINterface onReceive:android.intent.action.MEDIA_SCANNER_FINISHED
01-15 13:26:15.151 27522-27522/? E/MTPJNIInterface: In MTPJNIINterface onReceive:android.intent.action.MEDIA_SCANNER_FINISHED
01-15 13:26:20.301 27583-27583/? E/Zygote: v2
01-15 13:26:20.301 27583-27583/? E/Zygote: accessInfo : 0
01-15 13:26:20.421 27583-27583/? E/SmartFaceServiceStarter: onCreate
onStartCommand
Starting SmartFaceService.
01-15 13:26:20.441 27583-27583/? E/SmartFaceService: SmartFaceService constructor for user: 0
01-15 13:26:20.511 27583-27583/? E/SmartFaceService: mActiveServiceType: 100
mScrollEnabled:false mPauseEnabled:false mStayEnabled:true mRotationEnabled:false, (false,true)
01-15 13:26:20.511 27583-27583/? E/Logger: New Logger Instance
01-15 13:26:20.511 27583-27583/? E/SmartFaceService: mLightIntensityEnough: true mLux: 0.0
01-15 13:26:20.511 27583-27583/? E/SmartFaceService: Service Type to Worker: 0
Last Active clients:0 Current Active clients: 0
Last Smart Pause clients: 0 Current Smart Pause clients: 0
01-15 13:26:20.531 27583-27583/? E/SmartFaceService: from registerCoverManager -> mClearCoverOpened: true
SmartFaceService constructor done
01-15 13:26:20.531 27583-27595/? E/SmartFaceService: Update service state according to cover state: true
01-15 13:26:20.531 27583-27583/? E/SmartFaceServiceStarter: onStartCommand done
01-15 13:26:20.531 27583-27595/? E/SmartFaceService: mActiveServiceType: 100
mLightIntensityEnough: true mLux: 0.0
01-15 13:26:20.531 27583-27595/? E/SmartFaceService: Service Type to Worker: 0
Last Active clients:0 Current Active clients: 0
Last Smart Pause clients: 0 Current Smart Pause clients: 0
01-15 13:26:20.531 27583-27583/? E/SmartFaceService: SmartFaceService Started.
01-15 13:26:22.511 855-1809/? E/Sensors: Pressure old sensor_state 8705, new sensor_state : 8737 en : 1
01-15 13:26:22.551 855-2261/? E/Sensors: Pressure old sensor_state 8737, new sensor_state : 8705 en : 0
01-15 13:26:25.091 855-1675/? E/Watchdog: !@Sync 3531 [01-15 13:26:25.103]
最佳答案
尝试以下操作。
关于android - Ionic 3 - 在 Android 中运行 --prod 模式时应用程序被卡住,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/54185072/
我最近在/ drawable中添加了一些.gifs,以便可以将它们与按钮一起使用。这个工作正常(没有错误)。现在,当我重建/运行我的应用程序时,出现以下错误: Error: Gradle: Execu
Android 中有返回内部存储数据路径的方法吗? 我有 2 部 Android 智能手机(Samsung s2 和 s7 edge),我在其中安装了一个应用程序。我想使用位于这条路径中的 sqlit
这个问题在这里已经有了答案: What's the difference between "?android:" and "@android:" in an android layout xml f
我只想知道 android 开发手机、android 普通手机和 android root 手机之间的实际区别。 我们不能从实体店或除 android marketplace 以外的其他地方购买开发手
自Gradle更新以来,我正在努力使这个项目达到标准。这是一个团队项目,它使用的是android-apt插件。我已经进行了必要的语法更改(编译->实现和apt->注释处理器),但是编译器仍在告诉我存在
我是android和kotlin的新手,所以请原谅要解决的一个非常简单的问题! 我已经使用导航体系结构组件创建了一个基本应用程序,使用了底部的导航栏和三个导航选项。每个导航选项都指向一个专用片段,该片
我目前正在使用 Facebook official SDK for Android . 我现在正在使用高级示例应用程序,但我不知道如何让它获取应用程序墙/流/状态而不是登录的用户。 这可能吗?在那种情
我在下载文件时遇到问题, 我可以在模拟器中下载文件,但无法在手机上使用。我已经定义了上网和写入 SD 卡的权限。 我在服务器上有一个 doc 文件,如果用户单击下载。它下载文件。这在模拟器中工作正常但
这个问题在这里已经有了答案: What is the difference between gravity and layout_gravity in Android? (22 个答案) 关闭 9
任何人都可以告诉我什么是 android 缓存和应用程序缓存,因为当我们谈论缓存清理应用程序时,它的作用是,缓存清理概念是清理应用程序缓存还是像内存管理一样主存储、RAM、缓存是不同的并且据我所知,缓
假设应用程序 Foo 和 Eggs 在同一台 Android 设备上。任一应用程序都可以获取设备上所有应用程序的列表。一个应用程序是否有可能知道另一个应用程序是否已经运行以及运行了多长时间? 最佳答案
我有点困惑,我只看到了从 android 到 pc 或者从 android 到 pc 的例子。我需要制作一个从两部手机 (android) 连接的 android 应用程序进行视频聊天。我在想,我知道
用于使用 Android 以编程方式锁定屏幕。我从 Stackoverflow 之前关于此的问题中得到了一些好主意,并且我做得很好,但是当我运行该代码时,没有异常和错误。而且,屏幕没有锁定。请在这段代
文档说: android:layout_alignParentStart If true, makes the start edge of this view match the start edge
我不知道这两个属性和高度之间的区别。 以一个TextView为例,如果我将它的layout_width设置为wrap_content,并将它的width设置为50 dip,会发生什么情况? 最佳答案
这两个属性有什么关系?如果我有 android:noHistory="true",那么有 android:finishOnTaskLaunch="true" 有什么意义吗? 最佳答案 假设您的应用中有
我是新手,正在尝试理解以下 XML 代码: 查看 developer.android.com 上的文档,它说“starStyle”是 R.attr 中的常量, public static final
在下面的代码中,为什么当我设置时单选按钮的外观会发生变化 android:layout_width="fill_parent" 和 android:width="fill_parent" 我说的是
很难说出这里要问什么。这个问题模棱两可、含糊不清、不完整、过于宽泛或夸夸其谈,无法以目前的形式得到合理的回答。如需帮助澄清此问题以便重新打开,visit the help center . 关闭 9
假设我有一个函数 fun myFunction(name:String, email:String){},当我调用这个函数时 myFunction('Ali', 'ali@test.com ') 如何
我是一名优秀的程序员,十分优秀!