Fairy is an easy debug tool which will allow developer to use adb logcat command to view Android system log on your Android phone instead of on your PC.You can scan the system log information anywhere with your Android phone.
Fairy support Android API 21+
. There are two ways to choose.
- Download
- Download the
project
. - Cd [project path]/pc in the terminal.
- Configured adb environment In the terminal.
- Run pusher.sh with
sh pusher.sh
command in terminal. - Install the APK in the [project path]/pc
- Import
- Import project in AndroidStudio.
- Run
./gradlew -p fairy-server runService
. - Run fairy-client module or install APK directly.
Fairy default use armeabi .so
- Fit Android low-end mobile phone.Some low-end mobile phone like MI2 and MI3 may kill the Fairy-Server when USB is break up or may can't support
logcat -t "[time]"
command. So these phones may not use Fairy because Fairy uses feed-stream which is based on timeline. Add log grep feature.Optimize the view to display log.Optimize the view to display itemData persistence by SQL.Add floating window to display data.
I have completed the code refactoring in this release (v2.0.0-alpha
) with Android Architecture Components
/*
* Copyright (C) 2017 Zane.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/