arcgis-android:100.0.0依赖gson.2.3.1.jar失败,是什么原因呢? 10C

很无语的一个问题。
依赖'com.esri.arcgisruntime:arcgis-android:100.0.0'同步时报出“Error:Failed to resolve: com.google.code.gson:gson:2.3.1”。

clean project之后又报出:
Error:A problem occurred configuring project ':app'.>
Could not resolve all dependencies for configuration ':app:_debugApkCopy'. >
Could not resolve com.google.code.gson:gson:2.3.1. Required by: project :app > com.esri.arcgisruntime:arcgis-android:100.0.0 >
Could not resolve com.google.code.gson:gson:2.3.1. >
Could not get resource 'https://jcenter.bintray.com/com/google/code/gson/gson/2.3.1/gson-2.3.1.pom'. >
Could not HEAD 'https://jcenter.bintray.com/com/google/code/gson/gson/2.3.1/gson-2.3.1.pom'. > Server sent an unsupported extension: type_35

很尴尬啊,找了很久不知道什么问题。
在线依赖“com.esri.arcgisruntime:arcgis-android:100.0.0”,更可怕直接卡在下download arcgis-android-100.0.0.aar上面。(一直开着VPN)

按照官网文档和网上大神的经验配置离线:
1、本地配置maven,并将arcgis-android-100.0.0.aar和arcgis-android-100.0.0.pom放入在C:\Users\Administrator.m2\repository\com\esri\arcgis\android\arcgis-android\100.0.0和C:\Users\Administrator.m2\repository\com\esri\arcgisruntime\arcgis-android\100.0.0(因为不知道哪个对,索性就配置了两个)。

2、so文件放在了src/main/jinLibs文件夹下,并在build.gradle配置了。

3、arcgis-android-api.jar和gson-2.3.1.jar放在libs下并依赖。

4、project下的build.gradle也配置了本地仓库。
![图片说明](https://img-ask.csdn.net/upload/201706/04/1496572186_730793.png)图片说明

2个回答

jar包没下载下来吧

qq_27969037
Mr康 你是想要使用gson是吧?compile 'com.google.code.gson:gson:2.8.0'使用这个试试
接近 3 年之前 回复
skin_hu
skin_hu 如我上传的图片,我是配置本地环境,自然是要下载jar包的,也已经导入了libs,gson-2.3.1.jar是被arcgis所依赖的,必然是需要这个jar包的。问题的描述中离线配置的第3个步骤就有说明这点
接近 3 年之前 回复

一般是网络原因,可以试试直接下载对应的jar包等,然后添加到libs目录来引用

skin_hu
skin_hu 如我上传的图片,我是配置本地环境,自然是要下载jar包的,也已经导入了libs,gson-2.3.1.jar是被arcgis所依赖的,必然是需要这个jar包的。
接近 3 年之前 回复
Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
Arcgis for android 100.0 添加json格式动态图层和去水印

我用的是arcgis runtime SDK for Android 100.0.0 再添加动态图层时(ArcGISMapImageLayer)普通类型动态图层可以显示出来。 但是使用下面这种类型动态添加没有显示出来,用了FeatureLayer也不行 http://192.168.1.31:6080/arcgis/rest/services/shapfileTest/MapServer/dynamicLayer?layer={ \"id\": 0,\"source\": {\"type\": \"dataLayer\", \"dataSource\": {\"type\": \"table\", \"workspaceId\":\"shapefileTest\", \"dataSourceName\":\"道路l_polyline\"}}} 哪位大神做过类似的帮忙解决一下,如果是有旧版本可以的话也请告知具体操作,谢谢了。 另外还有arcgis for android去水印的方法。谢谢了

retrofit2 请求失败,返回到onFailure!什么原因?求大神解答。。急!急!急!

如题,retrofit2 下载图片,请求失败,返回到onFailure!什么原因?该怎么解决? 求大神解答。。急!急!急!在线等! 09-28 15:58:56.917 24976-25267/com.example.tenrice D/libc-netbsd: [getaddrinfo]: hostname=yao.gcn99.com; servname=(null); cache_mode=(null), netid=0; mark=0 09-28 15:58:56.917 24976-25267/com.example.tenrice D/libc-netbsd: [getaddrinfo]: ai_addrlen=0; ai_canonname=(null); ai_flags=4; ai_family=0 09-28 15:58:56.917 24976-25267/com.example.tenrice D/libc-netbsd: [getaddrinfo]: hostname=yao.gcn99.com; servname=(null); cache_mode=(null), netid=0; mark=0 09-28 15:58:56.917 24976-25267/com.example.tenrice D/libc-netbsd: [getaddrinfo]: ai_addrlen=0; ai_canonname=(null); ai_flags=1024; ai_family=0 09-28 15:58:56.926 24976-25267/com.example.tenrice D/libc-netbsd: getaddrinfo: yao.gcn99.com get result from proxy >> 09-28 15:58:56.926 24976-25267/com.example.tenrice I/System.out: propertyValue:false 09-28 15:58:56.927 24976-25267/com.example.tenrice I/System.out: entering allowSendingEmail 09-28 15:58:56.927 24976-25267/com.example.tenrice I/System.out: [CDS]connect[yao.gcn99.com/120.26.62.253:80] tm:10

android app出现这个奔溃

大家好,用addr2line工具也查不到是so哪行代码出现的问题,这是不是java层奔溃导致的? 06-07 09:01:54.449 10949-10949/com.wl.andrpeer A/libc: heap corruption detected by dlmalloc 06-07 09:01:54.449 10949-10949/com.wl.andrpeer A/libc: Fatal signal 6 (SIGABRT) at 0x00002ac5 (code=-6), thread 10949 (com.wl.andrpeer) 06-07 09:01:54.504 2434-2434/? I/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** 06-07 09:01:54.504 2434-2434/? I/DEBUG: Build fingerprint: 'Huawei/PE-TL20/hwPE:4.4.2/HuaweiPE-TL20/CHNC00B200:user/ota-rel-keys,release-keys' 06-07 09:01:54.504 2434-2434/? I/DEBUG: Revision: '0' 06-07 09:01:54.504 2434-2434/? I/DEBUG: pid: 10949, tid: 10949, name: com.wl.andrpeer >>> com.wl.andrpeer <<< 06-07 09:01:54.504 2434-2434/? I/DEBUG: signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr -------- 06-07 09:01:54.504 2434-2434/? I/DEBUG: Abort message: 'heap corruption detected by dlmalloc' 06-07 09:01:54.649 2434-2434/? I/DEBUG: r0 00000000 r1 00002ac5 r2 00000006 r3 00000000 06-07 09:01:54.649 2434-2434/? I/DEBUG: r4 00000006 r5 0000000b r6 00002ac5 r7 0000010c 06-07 09:01:54.649 2434-2434/? I/DEBUG: r8 be85d330 r9 6d4aed20 sl 00000000 fp be85d344 06-07 09:01:54.649 2434-2434/? I/DEBUG: ip 00000000 sp be85d1f0 lr 400a3271 pc 400b21b0 cpsr 000f0010 06-07 09:01:54.649 2434-2434/? I/DEBUG: d0 636f6c6c616d6c64 d1 65746564206e6f69 06-07 09:01:54.649 2434-2434/? I/DEBUG: d2 0074006300410061 d3 0074006900760070 06-07 09:01:54.649 2434-2434/? I/DEBUG: d4 0000000000000000 d5 0000000000000000 06-07 09:01:54.649 2434-2434/? I/DEBUG: d6 0000000000000000 d7 0000000080000000 06-07 09:01:54.649 2434-2434/? I/DEBUG: d8 0000000043ac8000 d9 0000000000000000 06-07 09:01:54.649 2434-2434/? I/DEBUG: d10 0000000000000000 d11 0000000000000000 06-07 09:01:54.649 2434-2434/? I/DEBUG: d12 0000000000000000 d13 0000000000000000 06-07 09:01:54.649 2434-2434/? I/DEBUG: d14 0000000000000000 d15 0000000000000000 06-07 09:01:54.649 2434-2434/? I/DEBUG: d16 ffffffffffffffff d17 0000000000000000 06-07 09:01:54.649 2434-2434/? I/DEBUG: d18 000000010bbfe000 d19 00000000000001a8 06-07 09:01:54.649 2434-2434/? I/DEBUG: d20 0000000000000098 d21 0000000000800000 06-07 09:01:54.649 2434-2434/? I/DEBUG: d22 00000000008bb688 d23 0000000080c32cc0 06-07 09:01:54.649 2434-2434/? I/DEBUG: d24 0000000080c32cc1 d25 0000000000000000 06-07 09:01:54.649 2434-2434/? I/DEBUG: d26 3ff0000000000000 d27 0000000000000000 06-07 09:01:54.649 2434-2434/? I/DEBUG: d28 3ff0000000000000 d29 0000000000000001 06-07 09:01:54.649 2434-2434/? I/DEBUG: d30 0000000000000001 d31 0000000080c34640 06-07 09:01:54.654 2434-2434/? I/DEBUG: scr 60000010 06-07 09:01:54.659 2434-2434/? I/DEBUG: backtrace: 06-07 09:01:54.659 2434-2434/? I/DEBUG: #00 pc 000221b0 /system/lib/libc.so (tgkill+12) 06-07 09:01:54.659 2434-2434/? I/DEBUG: #01 pc 0001326d /system/lib/libc.so (pthread_kill+48) 06-07 09:01:54.659 2434-2434/? I/DEBUG: #02 pc 00013481 /system/lib/libc.so (raise+10) 06-07 09:01:54.659 2434-2434/? I/DEBUG: #03 pc 000121b7 /system/lib/libc.so 06-07 09:01:54.659 2434-2434/? I/DEBUG: #04 pc 00021a64 /system/lib/libc.so (abort+4) 06-07 09:01:54.659 2434-2434/? I/DEBUG: #05 pc 00012c9d /system/lib/libc.so 06-07 09:01:54.659 2434-2434/? I/DEBUG: #06 pc 0000f3bd /system/lib/libc.so 06-07 09:01:54.659 2434-2434/? I/DEBUG: #07 pc 000102c1 /system/lib/libc.so (dlmalloc+604) 06-07 09:01:54.659 2434-2434/? I/DEBUG: #08 pc 0000de9b /system/lib/libc.so (malloc+10) 06-07 09:01:54.664 2434-2434/? I/DEBUG: #09 pc 000205fd /system/lib/libbinder.so (android::Parcel::continueWrite(unsigned int)+352) 06-07 09:01:54.664 2434-2434/? I/DEBUG: #10 pc 00020d2f /system/lib/libbinder.so (int android::Parcel::writeAligned<unsigned int>(unsigned int)+36) 06-07 09:01:54.664 2434-2434/? I/DEBUG: #11 pc 00020f9d /system/lib/libbinder.so (android::Parcel::writeInterfaceToken(android::String16 const&)+20) 06-07 09:01:54.664 2434-2434/? I/DEBUG: #12 pc 0006e1ef /system/lib/libandroid_runtime.so 06-07 09:01:54.664 2434-2434/? I/DEBUG: #13 pc 0001eb8c /system/lib/libdvm.so (dvmPlatformInvoke+112) 06-07 09:01:54.664 2434-2434/? I/DEBUG: #14 pc 0004f273 /system/lib/libdvm.so (dvmCallJNIMethod(unsigned int const*, JValue*, Method const*, Thread*)+398) 06-07 09:01:54.664 2434-2434/? I/DEBUG: #15 pc 00027fa0 /system/lib/libdvm.so 06-07 09:01:54.664 2434-2434/? I/DEBUG: #16 pc 0002f130 /system/lib/libdvm.so (dvmMterpStd(Thread*)+76) 06-07 09:01:54.664 2434-2434/? I/DEBUG: #17 pc 0002c794 /system/lib/libdvm.so (dvmInterpret(Thread*, Method const*, JValue*)+184) 06-07 09:01:54.664 2434-2434/? I/DEBUG: #18 pc 00061a09 /system/lib/libdvm.so (dvmInvokeMethod(Object*, Method const*, ArrayObject*, ArrayObject*, ClassObject*, bool)+392) 06-07 09:01:54.664 2434-2434/? I/DEBUG: #19 pc 00069b17 /system/lib/libdvm.so 06-07 09:01:54.664 2434-2434/? I/DEBUG: #20 pc 00027fa0 /system/lib/libdvm.so 06-07 09:01:54.664 2434-2434/? I/DEBUG: #21 pc 0002f130 /system/lib/libdvm.so (dvmMterpStd(Thread*)+76) 06-07 09:01:54.664 2434-2434/? I/DEBUG: #22 pc 0002c794 /system/lib/libdvm.so (dvmInterpret(Thread*, Method const*, JValue*)+184) 06-07 09:01:54.664 2434-2434/? I/DEBUG: #23 pc 00061725 /system/lib/libdvm.so (dvmCallMethodV(Thread*, Method const*, Object*, bool, JValue*, std::__va_list)+336) 06-07 09:01:54.664 2434-2434/? I/DEBUG: #24 pc 0004ae3b /system/lib/libdvm.so 06-07 09:01:54.664 2434-2434/? I/DEBUG: #25 pc 00050697 /system/lib/libandroid_runtime.so 06-07 09:01:54.664 2434-2434/? I/DEBUG: #26 pc 0005145f /system/lib/libandroid_runtime.so (android::AndroidRuntime::start(char const*, char const*)+386) 06-07 09:01:54.664 2434-2434/? I/DEBUG: #27 pc 0000105b /system/bin/app_process 06-07 09:01:54.664 2434-2434/? I/DEBUG: #28 pc 0000e5ef /system/lib/libc.so (__libc_init+50) 06-07 09:01:54.664 2434-2434/? I/DEBUG: #29 pc 00000d7c /system/bin/app_process 06-07 09:01:54.664 2434-2434/? I/DEBUG: stack: 06-07 09:01:54.664 2434-2434/? I/DEBUG: be85d1b0 28e0001d 06-07 09:01:54.664 2434-2434/? I/DEBUG: be85d1b4 4158e69b /system/lib/libdvm.so (dvmDecodeIndirectRef(Thread*, _jobject*)+34) 06-07 09:01:54.664 2434-2434/? I/DEBUG: be85d1b8 28e0001d 06-07 09:01:54.664 2434-2434/? I/DEBUG: be85d1bc be85d1e4 [stack] 06-07 09:01:54.664 2434-2434/? I/DEBUG: be85d1c0 28e0001d 06-07 09:01:54.664 2434-2434/? I/DEBUG: be85d1c4 4157ca6d /system/lib/libdvm.so 06-07 09:01:54.664 2434-2434/? I/DEBUG: be85d1c8 be85d2e4 [stack] 06-07 09:01:54.664 2434-2434/? I/DEBUG: be85d1cc 4157cc79 /system/lib/libdvm.so 06-07 09:01:54.664 2434-2434/? I/DEBUG: be85d1d0 00000000 06-07 09:01:54.664 2434-2434/? I/DEBUG: be85d1d4 4009deb1 /system/lib/libc.so (free+12) 06-07 09:01:54.664 2434-2434/? I/DEBUG: be85d1d8 400df38c 06-07 09:01:54.664 2434-2434/? I/DEBUG: be85d1dc 768dd3fb /data/app-lib/com.wl.andrpeer-1/libp2p-lib.so 06-07 09:01:54.664 2434-2434/? I/DEBUG: be85d1e0 be85d2d0 [stack] 06-07 09:01:54.664 2434-2434/? I/DEBUG: be85d1e4 be85d2dc [stack] 06-07 09:01:54.664 2434-2434/? I/DEBUG: be85d1e8 be85d2d8 [stack] 06-07 09:01:54.664 2434-2434/? I/DEBUG: be85d1ec be85d2e4 [stack] 06-07 09:01:54.664 2434-2434/? I/DEBUG: #00 be85d1f0 00000006 06-07 09:01:54.664 2434-2434/? I/DEBUG: be85d1f4 0000000b 06-07 09:01:54.664 2434-2434/? I/DEBUG: be85d1f8 00002ac5 06-07 09:01:54.664 2434-2434/? I/DEBUG: be85d1fc 00000000 06-07 09:01:54.664 2434-2434/? I/DEBUG: be85d200 00000000 06-07 09:01:54.664 2434-2434/? I/DEBUG: be85d204 400a3271 /system/lib/libc.so (pthread_kill+52) 06-07 09:01:54.664 2434-2434/? I/DEBUG: #01 be85d208 00000006 06-07 09:01:54.664 2434-2434/? I/DEBUG: be85d20c 00000000 06-07 09:01:54.664 2434-2434/? I/DEBUG: be85d210 7a4a9b30 [anon:libc_malloc] 06-07 09:01:54.664 2434-2434/? I/DEBUG: be85d214 400a3485 /system/lib/libc.so (raise+14) 06-07 09:01:54.664 2434-2434/? I/DEBUG: #02 be85d218 be85d224 [stack] 06-07 09:01:54.664 2434-2434/? I/DEBUG: be85d21c 400a21bb /system/lib/libc.so

ArcGIS版本兼容问题,100.5以后和10.3的版本

1.安卓这块的版本是100.5,服务端service是10.3,能不能访问? 2.应该调用那个方法

arcGIS for android,如何实现graphic overlayer 的点击事件

有什么办法直接获取绘制图层的点击事件,主要是获取这个图层,api里面没找到,是要用GeoView吗?有用过的说下

arcgis for Android 100.3 ArcgisScene 加载本地TPK 不显示

## SceneView 加载TPK ``` SceneView mapView = findViewById(R.id.arcgis); ArcGISScene arcGISMap = new ArcGISScene(new Basemap()); mapView.setScene(arcGISMap); String path = FileUtil.getInstance().getMapTpkPath() + "dixing.tpk"; TileCache tileCache = new TileCache(path); tileCache.loadAsync(); tileCache.addDoneLoadingListener(() -> { if(tileCache.getLoadStatus() == LoadStatus.LOADED){ ArcGISTiledLayer arcGISTiledLayer = new ArcGISTiledLayer(tileCache); arcGISTiledLayer.loadAsync(); if(arcGISTiledLayer.getLoadStatus() == LoadStatus.LOADED){ arcGISMap.getBasemap().getBaseLayers().add(arcGISTiledLayer); mapView.setViewpoint(new Viewpoint(arcGISTiledLayer.getFullExtent())); }else { ArcGISRuntimeException exception = arcGISTiledLayer.getLoadError(); System.out.println(); } }else { ArcGISRuntimeException exception = tileCache.getLoadError(); System.out.println(); } }); ``` ## MapView 加载TPK ``` MapView mapView = findViewById(R.id.mapView); ArcGISMap arcGISMap = new ArcGISMap(new Basemap()); mapView.setMap(arcGISMap); String path = FileUtil.getInstance().getMapTpkPath() + "dixing.tpk"; TileCache tileCache = new TileCache(path); tileCache.loadAsync(); tileCache.addDoneLoadingListener(() -> { if(tileCache.getLoadStatus() == LoadStatus.LOADED){ ArcGISTiledLayer arcGISTiledLayer = new ArcGISTiledLayer(tileCache); arcGISTiledLayer.loadAsync(); if(arcGISTiledLayer.getLoadStatus() == LoadStatus.LOADED){ arcGISMap.getBasemap().getBaseLayers().add(arcGISTiledLayer); mapView.setViewpoint(new Viewpoint(arcGISTiledLayer.getFullExtent())); }else { ArcGISRuntimeException exception = arcGISTiledLayer.getLoadError(); System.out.println(); } }else { ArcGISRuntimeException exception = tileCache.getLoadError(); System.out.println(); } }); ``` ## 差不多同样的逻辑,MapView加载TPK,毫无问题。SceneView不显示,也不报错 ## 有没有遇到过类似问题同学? ## 是否说明ArcgisScene不支持TPK?

oracle登录时出现“ORA-03114:未连接到ORACLE”求各位大神相助!!

oracle登录时出现“ORA-03114:未连接到ORACLE”求各位大神相助!! 重装前正常登录,重装C盘后不能登录,重新安装了BDE7,oracel10.0.1并有oracle10.2.4补丁

Windows下 sklearn:numpy.ufunc has the wrong size

各位大神求指点,我使用ArcGIS10.3自带的Python2.7.8(NumPy 1.7.1,matplotlib 1.3.0)自己去官网下载安装了scipy0.13.3和scikit-learn0.16.0,在编译scikit learn时出现numpy.dtype size问题,还没有运行其他代码,只是导入库就不行了: print('Hello World') # import numpy & scipy import numpy as np from numpy import linalg from numpy.linalg import norm from scipy.spatial.distance import squareform, pdist # import sklearn. import sklearn from sklearn.manifold import TSNE from sklearn.datasets import load_digits from sklearn.preprocessing import scale print "working" ![图片说明](https://img-ask.csdn.net/upload/201601/02/1451704594_425391.png) 新手跪求指点,万分感谢!

arcGis for android 使用polyline.calculateLength2D ()

arcGis for android 使用polyline.calculateLength2D ()计算出来的长度非常小,有时候是0.几,但是我在地图上看上去也有个几厘米啊。乘以比例尺后的距离很短,测距一直堵在这个问题上。

arcgis中NameError: name 'outFile' is not defined

![图片说明](https://img-ask.csdn.net/upload/202004/06/1586144549_180404.png) arcgis在用samples的工具库的执行write features to text file时NameError: name 'outFile' is not defined

android ARCGIS退出app崩溃。。。

android 部分代码 if (bdLocationA==null) { return; } new Thread() { public void run() { CoordinateTransUtil TransformUtil = new CoordinateTransUtil(); double[] gcj02to84 ; try { gcj02to84 =TransformUtil.gcj02to84(bdLocationA.getLongitude(), bdLocationA.getLatitude()); } catch (Exception ex) { logA("出错了。。。" + ex.toString()); return; } String url =cscs.url + "?getLongitude=" + gcj02to84[1] + "&getLatitude=" + gcj02to84[0]; final String str = MyHttp.getTextUrl(url); double parseDouble = Double.parseDouble(str.split("\\,")[0]); double parseDouble2 = Double.parseDouble(str.split("\\,")[1]); ShowPointOnMap(parseDouble, parseDouble2); } }.start(); 错误代码 10-11 12:23:21.894 4299-4757/com.cs.cscs E/libc: Access denied finding property "ro.opengles.version" 10-11 12:23:22.568 4299-4310/com.cs.cscs E/StrictMode: A resource was acquired at attached stack trace but never released. See java.io.Closeable for information on avoiding resource leaks. java.lang.Throwable: Explicit termination method 'end' not called at dalvik.system.CloseGuard.open(CloseGuard.java:180) at java.util.zip.Inflater.<init>(Inflater.java:104) at java.util.zip.GZIPInputStream.<init>(GZIPInputStream.java:76) at java.util.zip.GZIPInputStream.<init>(GZIPInputStream.java:89) at com.esri.core.internal.io.handler.c$b.getContent(SourceFile:445) at org.apache.http.conn.BasicManagedEntity.getContent(BasicManagedEntity.java:105) at org.apache.http.util.EntityUtils.toString(EntityUtils.java:117) at com.esri.core.internal.io.handler.h$1.handleResponse(SourceFile:201) at com.esri.core.internal.io.handler.h$1.handleResponse(SourceFile:197) at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:662) at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:632) at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:621) at com.esri.core.internal.io.handler.h.a(SourceFile:197) at com.esri.core.internal.io.handler.h.a(SourceFile:63) at com.esri.core.internal.tasks.ags.t.a(SourceFile:39) at com.esri.android.map.ags.ArcGISDynamicMapServiceLayer.initLayer(SourceFile:279) at com.esri.android.map.ags.ArcGISDynamicMapServiceLayer$1.run(SourceFile:193) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:428) at java.util.concurrent.FutureTask.run(FutureTask.java:237) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607) at java.lang.Thread.run(Thread.java:761) 10-11 12:23:22.648 1693-1792/system_process E/InputDispatcher: channel 'e88f1c9 com.cs.cscs/com.cs.cscs.arcgismap.mapA (server)' ~ Channel is unrecoverably broken and will be disposed! 10-11 12:23:22.650 1693-1792/system_process E/InputDispatcher: channel 'f9b9409 com.cs.cscs/com.cs.cscs.mainActivity (server)' ~ Channel is unrecoverably broken and will be disposed! 10-11 12:23:22.650 1693-1792/system_process E/InputDispatcher: channel '167bca0 com.cs.cscs/com.cs.cscs.takeActivity (server)' ~ Channel is unrecoverably broken and will be disposed! 10-11 12:23:22.819 4802-4809/? E/art: Failed writing handshake bytes (-1 of 14): Broken pipe

arcgis Android 10.2.5 gradle 同步出错

错误提示: AAPT err(610279039): D:\AndroidStudioProjects\GisDemo\app\build\intermediates\exploded-aar\com.android.support\appcompat-v7\22.0.0\res\drawable-hdpi-v4\abc_spinner_mtrl_am_alpha.9.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited 请问如何解决

VS2012打包程序的时候,出现的这样的警告,怎么解决?

警告 1 -7235: InstallShield could not create the software identification tag because the Tag Creator ID setting in the General Information view is empty. ISEXP : warning : -7235: InstallShield could not create the software identification tag because the Tag Creator ID setting in the General Information view is empty. 警告 2 -6248: Could not find dependent file DSOFRA~1.OCX, or one of its dependencies of component AxInterop.DSOFramer.dll ISEXP : warning : -6248: Could not find dependent file DSOFRA~1.OCX, or one of its dependencies of component AxInterop.DSOFramer.dll 警告 3 -6248: Could not find dependent file DSOFRA~1.OCX, or one of its dependencies of component ISOClient.WndApp.exe ISEXP : warning : -6248: Could not find dependent file DSOFRA~1.OCX, or one of its dependencies of component ISOClient.WndApp.exe 警告 4 -6248: Could not find dependent file DSOFRA~1.OCX, or one of its dependencies of component Interop.DSOFramer.dll ISEXP : warning : -6248: Could not find dependent file DSOFRA~1.OCX, or one of its dependencies of component Interop.DSOFramer.dll

arcgis android 撒点报错 VerifyError,demo中运行没问题的

代码在demo中跑起来完全正常,但是在整合到项目中之后能显示地图,但是无法撒点,卡在GraphicsLayer.addGraphic(),每次一到这里就报错,闪退 java.lang.VerifyError: com/esri/core/internal/util/d at com.esri.core.symbol.PictureMarkerSymbol.toJson(SourceFile:264) at com.esri.android.map.GraphicsLayer.addGraphic(SourceFile:257) at com.mlight.chat.activities.jqxx.JqxxMapActivity.sprinkle(JqxxMapActivity.java:427) at com.mlight.chat.activities.jqxx.JqxxMapActivity.access$300(JqxxMapActivity.java:52) at com.mlight.chat.activities.jqxx.JqxxMapActivity$2.handleMessage(JqxxMapActivity.java:349) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:136) at android.app.ActivityThread.main(ActivityThread.java:5336) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:515) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:873) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:689) at dalvik.system.NativeStart.main(Native Method)

arcgis api for javascript调用其他地图的问题?

我在网上找到的重写Arcgis的TiledMapServiceLayer调用其他地图的代码。可是我调用TMS服务的时候getTileUrl方法好像不执行(ps:同样的代码调用另一个TMS服务却可以显示地图)。不知道为什么?下面贴出代码和两个TMS服务的返回JSON还有元数据。 代码: China_tmsLayer.js文件,存放在 web根目录下的/js/tdlib 下面。 define(["dojo/_base/declare", "esri/layers/tiled"], function (declare) { return declare(esri.layers.TiledMapServiceLayer, { constructor: function () { this.spatialReference = new esri.SpatialReference({ wkid: 3857 }); this.initialExtent = (this.fullExtent = new esri.geometry.Extent(8176078.237520736, 379653.95418498217, 15037685.885627579, 7086873.4195843525, this.spatialReference)); this.tileInfo = new esri.layers.TileInfo({ "rows": 256, "cols": 256, "compressionQuality":90, "origin": { "x": -20037508.34, "y": -20037508.34 }, "spatialReference": { "wkid": 3857 }, "lods": [ { "level": 2, "resolution": 39135.758, "scale": 147914672.0 }, { "level": 3, "resolution": 19567.879, "scale": 73957336.0 }, { "level": 4, "resolution": 9783.9395, "scale": 36978668.0 }, { "level": 5, "resolution": 4891.96975, "scale": 18489334.0 }, { "level": 6, "resolution": 2445.984875, "scale": 9244667.0 }, { "level": 7, "resolution": 1222.9924375, "scale": 4622333.5 } ] }); this.loaded = true; this.onLoad(this); }, getTileUrl: function (level, row, col) { return "http://192.168.120.22:8080/gisserver/tmsserver/china_tms/" + level + "/" + row + "/" + col + ".png"; } }); }); ------------------------------调用上面的China_tmsLayer.js文件。---------------- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>China_tms Map</title> <script type="text/javascript"> dojoConfig = { parseOnLoad: true, packages: [{ name: 'tdlib', location: "/js/tdlib" }] }; </script> <link rel="stylesheet" href="http://js.arcgis.com/3.6/js/esri/css/esri.css"> <link rel="stylesheet" href="http://js.arcgis.com/3.6/js/dojo/dijit/themes/tundra/tundra.css"> <script src="http://js.arcgis.com/3.6/"></script> <script type="text/javascript"> var map; require(["esri/map", "tdlib/China_tmsLayer","dojo/domReady!"], function (Map, China_tmsLayer) { map=new Map("mapDiv"); var basemap = new China_tmsLayer(); map.addLayer(basemap); }); </script> </head> <body class="tundra"> <div id="mapDiv" style="width:1000px; height:500px; border:1px solid #000;"></div> </body> </html> ================================================ 上面代码不成功,找不到原因 调用不成功的TMS服务的元数据 ![图片说明](https://img-ask.csdn.net/upload/201508/17/1439801318_22187.jpg) 返回的JSON {"currentVersion":"10.01","mapName":"china_tms","layers":[{"id":"0","name":"tile","defaultVisibility":true,"parentLayerId":"-1","minScale":0.0,"maxScale":0.0}],"spatialReference":{"wkid":3857},"tileInfo":{"rows":256,"cols":256,"dpi":96,"format":"PNG8","compressionQuality":90,"origin":{"x":-2.003750834E7,"y":-2.003750834E7},"spatialReference":{"wkid":3857},"lods":[{"level":2,"resolution":39135.758,"scale":1.47914672E8},{"level":3,"resolution":19567.879,"scale":7.3957336E7},{"level":4,"resolution":9783.9395,"scale":3.6978668E7},{"level":5,"resolution":4891.96975,"scale":1.8489334E7},{"level":6,"resolution":2445.984875,"scale":9244667.0},{"level":7,"resolution":1222.9924375,"scale":4622333.5}]},"initialExtent":{"xmin":8176078.237520736,"ymin":379653.95418498217,"xmax":1.5037685885627579E7,"ymax":7086873.4195843525,"spatialReference":{"wkid":3857}},"fullExtent":{"xmin":8176078.237520736,"ymin":379653.95418498217,"xmax":1.5037685885627579E7,"ymax":7086873.4195843525,"spatialReference":{"wkid":3857}},"units":"esriMeters","capabilities":"Tile"} ======================================== 可以调用成功的TMS服务的元数据 ![图片说明](https://img-ask.csdn.net/upload/201508/17/1439801328_80593.jpg) 返回的JSON {"currentVersion":"10.01","serviceDescription":"","mapName":"SZIMAGE","description":"","copyrightText":"","layers":[{"id":"0","name":"SZIMAGE","defaultVisibility":true,"parentLayerId":"-1","minScale":0.0,"maxScale":0.0}],"spatialReference":{"wkid":2327},"singleFusedMapCache":true,"tileInfo":{"rows":256,"cols":256,"dpi":96,"format":"JPEG","compressionQuality":90,"origin":{"x":78488.8,"y":55262.63},"spatialReference":{"wkid":2327},"lods":[{"level":0,"resolution":79.375,"scale":300000.0},{"level":1,"resolution":52.916666666666664,"scale":200000.0},{"level":2,"resolution":26.458333333333332,"scale":100000.0},{"level":3,"resolution":13.229166666666666,"scale":50000.0},{"level":4,"resolution":6.614583333333333,"scale":25000.0},{"level":5,"resolution":3.3072916666666665,"scale":12500.0},{"level":6,"resolution":1.5875,"scale":6000.0},{"level":7,"resolution":0.79375,"scale":3000.0},{"level":8,"resolution":0.5291666666666667,"scale":2000.0},{"level":9,"resolution":0.26458333333333334,"scale":1000.0}]},"initialExtent":{"xmin":78488.8,"ymin":383.034,"xmax":179108.274,"ymax":55262.63,"spatialReference":{"wkid":2327}},"fullExtent":{"xmin":78488.8,"ymin":383.034,"xmax":179108.274,"ymax":55262.63,"spatialReference":{"wkid":2327}},"units":"esriMeters","documentInfo":{"Title":"SZIMAGE","Author":"","Comments":"","Subject":"","Category":"","Keywords":""}}。 学习arcgis api 的新人,好多都不太明白。求大神

关于arcgis for android 中的QueryTask这个例子的一些问题

在下面的源码中我主要有几点不明白 请各位大神能够帮助解答 第一、这个个例子中是什么时候开始对地图进行初始化的啊? 在xml文件中的url="http://www.arcgis.com/home/webmap/viewer.html?webmap=58e58acce685442aa4c73f91fbb3a387"这句话是对该地图进行初始化吗? 为什么不是一个mapserver啊? 代码片段,双击复制 <com.esri.android.map.MapView xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/map" android:layout_width="fill_parent" android:layout_height="fill_parent" url="http://www.arcgis.com/home/webmap/viewer.html?webmap=58e58acce685442aa4c73f91fbb3a387" > </com.esri.android.map.MapView> 第二 、对于代码中的以下部分不明白 if (source == mv && status == STATUS.INITIALIZED) { gl = new GraphicsLayer(); SimpleRenderer sr = new SimpleRenderer( new SimpleFillSymbol(Color.RED)); gl.setRenderer(sr);//设置渲染图形层 mv.addLayer(gl); boolean doQuery = false; for (Layer lv : mv.getLayers()) { if (lv instanceof ArcGISTiledMapServiceLayer) { ArcGISTiledMapServiceLayer tLayer = (ArcGISTiledMapServiceLayer) lv; if (tLayer.getUrl().equals(targetServerURL)) { doQuery = true; break; } } } 那个for循环中的的代码是用来干什么的啊? 以下是程序源码 package com.esri.arcgis.android.samples.querytask; import android.app.Activity; import android.app.ProgressDialog; import android.graphics.Color; import android.os.AsyncTask; import android.os.Bundle; import android.view.View; import android.widget.Button; import android.widget.Toast; import com.esri.android.map.GraphicsLayer; import com.esri.android.map.Layer; import com.esri.android.map.MapView; import com.esri.android.map.ags.ArcGISTiledMapServiceLayer; import com.esri.android.map.event.OnStatusChangedListener; import com.esri.arcgis.android.samples.attributequery.R; import com.esri.core.geometry.Envelope; import com.esri.core.geometry.SpatialReference; import com.esri.core.map.FeatureSet; import com.esri.core.map.Graphic; import com.esri.core.renderer.SimpleRenderer; import com.esri.core.symbol.SimpleFillSymbol; import com.esri.core.tasks.ags.query.Query; import com.esri.core.tasks.ags.query.QueryTask; public class AttributeQuery extends Activity { /** Called when the activity is first created. */ MapView mv; GraphicsLayer gl; Graphic graphic; Graphic fillGraphic; Button querybt; String targetServerURL = "http://services.arcgisonline.com/ArcGIS/rest/services/Demographics/USA_Average_Household_Size/MapServer"; boolean blQuery = true; ProgressDialog progress; final static int HAS_RESULTS = 1; final static int NO_RESULT = 2; final static int CLEAR_RESULT = 3; public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); mv = (MapView) findViewById(R.id.map); mv.setOnStatusChangedListener(new OnStatusChangedListener() { private static final long serialVersionUID = 1L; public void onStatusChanged(Object source, STATUS status) { if (source == mv && status == STATUS.INITIALIZED) { gl = new GraphicsLayer(); SimpleRenderer sr = new SimpleRenderer( new SimpleFillSymbol(Color.RED)); gl.setRenderer(sr);//设置渲染图形层 mv.addLayer(gl); boolean doQuery = false; for (Layer lv : mv.getLayers()) { if (lv instanceof ArcGISTiledMapServiceLayer) { ArcGISTiledMapServiceLayer tLayer = (ArcGISTiledMapServiceLayer) lv; if (tLayer.getUrl().equals(targetServerURL)) { doQuery = true; break; } } } if (!doQuery) { Toast toast = Toast.makeText(AttributeQuery.this, "URL for query does not exist any more", Toast.LENGTH_LONG); toast.show(); } else { querybt.setEnabled(true); } } } }); querybt = (Button) findViewById(R.id.queryButton); querybt.setOnClickListener(new View.OnClickListener() { public void onClick(View v) { if (blQuery) { String targetLayer = targetServerURL.concat("/3"); String[] queryParams = { targetLayer, "AVGHHSZ_CY>3.5" }; AsyncQueryTask ayncQuery = new AsyncQueryTask(); ayncQuery.execute(queryParams); } else { gl.removeAll(); blQuery = true; querybt.setText("Average Household > 3.5"); } } }); } /** * * Query Task executes asynchronously. * */ private class AsyncQueryTask extends AsyncTask<String, Void, FeatureSet> { protected void onPreExecute() { progress = ProgressDialog.show(AttributeQuery.this, "", "Please wait....query task is executing"); } /** * First member in parameter array is the query URL; second member is * the where clause. */ protected FeatureSet doInBackground(String... queryParams) { if (queryParams == null || queryParams.length <= 1) return null; String url = queryParams[0]; Query query = new Query(); String whereClause = queryParams[1]; SpatialReference sr = SpatialReference.create(102100); query.setGeometry(new Envelope(-20147112.9593773, 557305.257274575, -6569564.7196889, 11753184.6153385)); query.setOutSpatialReference(sr); query.setReturnGeometry(true); query.setWhere(whereClause); QueryTask qTask = new QueryTask(url); FeatureSet fs = null; try { fs = qTask.execute(query); } catch (Exception e) { // TODO Auto-generated catch block e.printStackTrace(); return fs; } return fs; } protected void onPostExecute(FeatureSet result) { String message = "No result comes back"; if (result != null) { Graphic[] grs = result.getGraphics(); if (grs.length > 0) { gl.addGraphics(grs); message = (grs.length == 1 ? "1 result has " : Integer .toString(grs.length) + " results have ") + "come back"; } } progress.dismiss(); Toast toast = Toast.makeText(AttributeQuery.this, message, Toast.LENGTH_LONG); toast.show(); querybt.setText("Clear graphics"); blQuery = false; } } @Override protected void onPause() { super.onPause(); mv.pause(); } @Override protected void onResume() { super.onResume(); mv.unpause(); } }

ESRI.ArcGIS.RuntimeManager.Bind(ESRI.ArcGIS.ProductCode.Engine);

ESRI.ArcGIS.RuntimeManager.Bind(ESRI.ArcGIS.ProductCode.Engine); 这行C#代码是什么意思,怎么用java代码表示怎么写,求帮助

frmwork 3.5环境下运行

我写的个frm程序,移动到别的机子上就不行了,运行环境是frmwork3.5,数据库是office2007自代的access,下面是错误信息: System.TypeInitializationException: “Microsoft.Practices.EnterpriseLibrary.Common.Configuration.ObjectBuilder.EnterpriseLibraryFactory”的类型初始值设定项引发异常。 ---> System.IO.FileNotFoundException: 未能加载文件或程序集“Microsoft.Practices.ObjectBuilder2, Version=2.2.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35”或它的某一个依赖项。系统找不到指定的文件。 文件名:“Microsoft.Practices.ObjectBuilder2, Version=2.2.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35” 在 Microsoft.Practices.EnterpriseLibrary.Common.Configuration.ObjectBuilder.EnterpriseLibraryFactory..cctor()

Java+ArcObject运行出错 initializeVisualBeans

说明:64位 Win7系统,eclipse是32位,JDK 是32位 本人初次接触 ARCObject JDK for Java,对Java有一定的了解,在eclipse中运行自带示例时,出现以下错误,请知道问题的给予指导,谢谢! Could not load native libraries.java.lang.UnsatisfiedLinkError: no ntvinv in java.library.path java.lang.UnsatisfiedLinkError: no ntvinv in java.library.path at java.lang.ClassLoader.loadLibrary(Unknown Source) at java.lang.Runtime.loadLibrary0(Unknown Source) at java.lang.System.loadLibrary(Unknown Source) at com.esri.arcgis.interop.NativeLoader.loadLibrary(Unknown Source) at com.esri.arcgis.system.EngineInitializer.initializeVisualBeans(Unknown Source) at arcgissamples.mapbean.AddLayerFileToMap.main(AddLayerFileToMap.java:322) Exception in thread "ArcGIS VisualBean Mode STA Thread" java.lang.UnsatisfiedLinkError: com.esri.arcgis.interop.NativeObjRef.runMessagePump()V at com.esri.arcgis.interop.NativeObjRef.runMessagePump(Native Method) at com.esri.arcgis.interop.STAThread.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Could not load native libraries. java.lang.UnsatisfiedLinkError: no ntvinv in java.library.path java.lang.UnsatisfiedLinkError: no ntvinv in java.library.path at java.lang.ClassLoader.loadLibrary(Unknown Source) at java.lang.Runtime.loadLibrary0(Unknown Source) at java.lang.System.loadLibrary(Unknown Source) at com.esri.arcgis.interop.NativeLoader.loadLibrary(Unknown Source) at com.esri.arcgis.interop.NativeObjRef.p(Unknown Source) at com.esri.arcgis.interop.Dispatch.a(Unknown Source) at com.esri.arcgis.interop.Dispatch.isNativeMode(Unknown Source) at com.esri.arcgis.interop.Dispatch.createDispatch(Unknown Source) at com.esri.arcgis.interop.Dispatch.<init>(Unknown Source) at com.esri.arcgis.version.IArcGISVersionProxy.<init>(Unknown Source) at com.esri.arcgis.version.VersionManager.<init>(Unknown Source) at com.esri.arcgis.version.VersionManager.<init>(Unknown Source) at com.esri.arcgis.system.EngineInitializer.setVersionAndInitialize(Unknown Source) at com.esri.arcgis.system.EngineInitializer.initializeVisualBeans(Unknown Source) at arcgissamples.mapbean.AddLayerFileToMap.main(AddLayerFileToMap.java:322) java.lang.RuntimeException: Failed to initialize native code invocation: null at com.esri.arcgis.interop.NativeObjRef.p(Unknown Source) at com.esri.arcgis.interop.Dispatch.a(Unknown Source) at com.esri.arcgis.interop.Dispatch.isNativeMode(Unknown Source) at com.esri.arcgis.interop.Dispatch.createDispatch(Unknown Source) at com.esri.arcgis.interop.Dispatch.<init>(Unknown Source) at com.esri.arcgis.version.IArcGISVersionProxy.<init>(Unknown Source) at com.esri.arcgis.version.VersionManager.<init>(Unknown Source) at com.esri.arcgis.version.VersionManager.<init>(Unknown Source) at com.esri.arcgis.system.EngineInitializer.setVersionAndInitialize(Unknown Source) at com.esri.arcgis.system.EngineInitializer.initializeVisualBeans(Unknown Source) at arcgissamples.mapbean.AddLayerFileToMap.main(AddLayerFileToMap.java:322) Error in sample application: Can not use native code: Initialisation failed java.lang.RuntimeException: Can not use native code: Initialisation failed at com.esri.arcgis.interop.NativeObjRef.<init>(Unknown Source) at com.esri.arcgis.interop.Dispatch.createDispatch(Unknown Source) at com.esri.arcgis.interop.Dispatch.<init>(Unknown Source) at com.esri.arcgis.version.IArcGISVersionProxy.<init>(Unknown Source) at com.esri.arcgis.version.VersionManager.<init>(Unknown Source) at com.esri.arcgis.version.VersionManager.<init>(Unknown Source) at com.esri.arcgis.system.EngineInitializer.setVersionAndInitialize(Unknown Source) at com.esri.arcgis.system.EngineInitializer.initializeVisualBeans(Unknown Source) at arcgissamples.mapbean.AddLayerFileToMap.main(AddLayerFileToMap.java:322) Exiting ... 请各位知道的兄弟指点。

在中国程序员是青春饭吗?

今年,我也32了 ,为了不给大家误导,咨询了猎头、圈内好友,以及年过35岁的几位老程序员……舍了老脸去揭人家伤疤……希望能给大家以帮助,记得帮我点赞哦。 目录: 你以为的人生 一次又一次的伤害 猎头界的真相 如何应对互联网行业的「中年危机」 一、你以为的人生 刚入行时,拿着傲人的工资,想着好好干,以为我们的人生是这样的: 等真到了那一天,你会发现,你的人生很可能是这样的: ...

程序员请照顾好自己,周末病魔差点一套带走我。

程序员在一个周末的时间,得了重病,差点当场去世,还好及时挽救回来了。

和黑客斗争的 6 天!

互联网公司工作,很难避免不和黑客们打交道,我呆过的两家互联网公司,几乎每月每天每分钟都有黑客在公司网站上扫描。有的是寻找 Sql 注入的缺口,有的是寻找线上服务器可能存在的漏洞,大部分都...

点沙成金:英特尔芯片制造全过程揭密

“亚马逊丛林里的蝴蝶扇动几下翅膀就可能引起两周后美国德州的一次飓风……” 这句人人皆知的话最初用来描述非线性系统中微小参数的变化所引起的系统极大变化。 而在更长的时间尺度内,我们所生活的这个世界就是这样一个异常复杂的非线性系统…… 水泥、穹顶、透视——关于时间与技艺的蝴蝶效应 公元前3000年,古埃及人将尼罗河中挖出的泥浆与纳特龙盐湖中的矿物盐混合,再掺入煅烧石灰石制成的石灰,由此得来了人...

上班一个月,后悔当初着急入职的选择了

最近有个老铁,告诉我说,上班一个月,后悔当初着急入职现在公司了。他之前在美图做手机研发,今年美图那边今年也有一波组织优化调整,他是其中一个,在协商离职后,当时捉急找工作上班,因为有房贷供着,不能没有收入来源。所以匆忙选了一家公司,实际上是一个大型外包公司,主要派遣给其他手机厂商做外包项目。**当时承诺待遇还不错,所以就立马入职去上班了。但是后面入职后,发现薪酬待遇这块并不是HR所说那样,那个HR自...

女程序员,为什么比男程序员少???

昨天看到一档综艺节目,讨论了两个话题:(1)中国学生的数学成绩,平均下来看,会比国外好?为什么?(2)男生的数学成绩,平均下来看,会比女生好?为什么?同时,我又联想到了一个技术圈经常讨...

副业收入是我做程序媛的3倍,工作外的B面人生是怎样的?

提到“程序员”,多数人脑海里首先想到的大约是:为人木讷、薪水超高、工作枯燥…… 然而,当离开工作岗位,撕去层层标签,脱下“程序员”这身外套,有的人生动又有趣,马上展现出了完全不同的A/B面人生! 不论是简单的爱好,还是正经的副业,他们都干得同样出色。偶尔,还能和程序员的特质结合,产生奇妙的“化学反应”。 @Charlotte:平日素颜示人,周末美妆博主 大家都以为程序媛也个个不修边幅,但我们也许...

如果你是老板,你会不会踢了这样的员工?

有个好朋友ZS,是技术总监,昨天问我:“有一个老下属,跟了我很多年,做事勤勤恳恳,主动性也很好。但随着公司的发展,他的进步速度,跟不上团队的步伐了,有点...

我入职阿里后,才知道原来简历这么写

私下里,有不少读者问我:“二哥,如何才能写出一份专业的技术简历呢?我总感觉自己写的简历太烂了,所以投了无数份,都石沉大海了。”说实话,我自己好多年没有写过简历了,但我认识的一个同行,他在阿里,给我说了一些他当年写简历的方法论,我感觉太牛逼了,实在是忍不住,就分享了出来,希望能够帮助到你。 01、简历的本质 作为简历的撰写者,你必须要搞清楚一点,简历的本质是什么,它就是为了来销售你的价值主张的。往深...

外包程序员的幸福生活

今天给你们讲述一个外包程序员的幸福生活。男主是Z哥,不是在外包公司上班的那种,是一名自由职业者,接外包项目自己干。接下来讲的都是真人真事。 先给大家介绍一下男主,Z哥,老程序员,是我十多年前的老同事,技术大牛,当过CTO,也创过业。因为我俩都爱好喝酒、踢球,再加上住的距离不算远,所以一直也断断续续的联系着,我对Z哥的状况也有大概了解。 Z哥几年前创业失败,后来他开始干起了外包,利用自己的技术能...

C++11:一些微小的变化(新的数据类型、template表达式内的空格、nullptr、std::nullptr_t)

本文介绍一些C++的两个新特性,它们虽然微小,但对你的编程十分重要 一、Template表达式内的空格 C++11标准之前建议在“在两个template表达式的闭符之间放一个空格”的要求已经过时了 例如: vector&lt;list&lt;int&gt; &gt;; //C++11之前 vector&lt;list&lt;int&gt;&gt;; //C++11 二、nullptr ...

优雅的替换if-else语句

场景 日常开发,if-else语句写的不少吧??当逻辑分支非常多的时候,if-else套了一层又一层,虽然业务功能倒是实现了,但是看起来是真的很不优雅,尤其是对于我这种有强迫症的程序"猿",看到这么多if-else,脑袋瓜子就嗡嗡的,总想着解锁新姿势:干掉过多的if-else!!!本文将介绍三板斧手段: 优先判断条件,条件不满足的,逻辑及时中断返回; 采用策略模式+工厂模式; 结合注解,锦...

深入剖析Springboot启动原理的底层源码,再也不怕面试官问了!

大家现在应该都对Springboot很熟悉,但是你对他的启动原理了解吗?

离职半年了,老东家又发 offer,回不回?

有小伙伴问松哥这个问题,他在上海某公司,在离职了几个月后,前公司的领导联系到他,希望他能够返聘回去,他很纠结要不要回去? 俗话说好马不吃回头草,但是这个小伙伴既然感到纠结了,我觉得至少说明了两个问题:1.曾经的公司还不错;2.现在的日子也不是很如意。否则应该就不会纠结了。 老实说,松哥之前也有过类似的经历,今天就来和小伙伴们聊聊回头草到底吃不吃。 首先一个基本观点,就是离职了也没必要和老东家弄的苦...

为什么你不想学习?只想玩?人是如何一步一步废掉的

不知道是不是只有我这样子,还是你们也有过类似的经历。 上学的时候总有很多光辉历史,学年名列前茅,或者单科目大佬,但是虽然慢慢地长大了,你开始懈怠了,开始废掉了。。。 什么?你说不知道具体的情况是怎么样的? 我来告诉你: 你常常潜意识里或者心理觉得,自己真正的生活或者奋斗还没有开始。总是幻想着自己还拥有大把时间,还有无限的可能,自己还能逆风翻盘,只不是自己还没开始罢了,自己以后肯定会变得特别厉害...

为什么程序员做外包会被瞧不起?

二哥,有个事想询问下您的意见,您觉得应届生值得去外包吗?公司虽然挺大的,中xx,但待遇感觉挺低,马上要报到,挺纠结的。

当HR压你价,说你只值7K,你该怎么回答?

当HR压你价,说你只值7K时,你可以流畅地回答,记住,是流畅,不能犹豫。 礼貌地说:“7K是吗?了解了。嗯~其实我对贵司的面试官印象很好。只不过,现在我的手头上已经有一份11K的offer。来面试,主要也是自己对贵司挺有兴趣的,所以过来看看……”(未完) 这段话主要是陪HR互诈的同时,从公司兴趣,公司职员印象上,都给予对方正面的肯定,既能提升HR的好感度,又能让谈判气氛融洽,为后面的发挥留足空间。...

面试:第十六章:Java中级开发(16k)

HashMap底层实现原理,红黑树,B+树,B树的结构原理 Spring的AOP和IOC是什么?它们常见的使用场景有哪些?Spring事务,事务的属性,传播行为,数据库隔离级别 Spring和SpringMVC,MyBatis以及SpringBoot的注解分别有哪些?SpringMVC的工作原理,SpringBoot框架的优点,MyBatis框架的优点 SpringCould组件有哪些,他们...

面试阿里p7,被按在地上摩擦,鬼知道我经历了什么?

面试阿里p7被问到的问题(当时我只知道第一个):@Conditional是做什么的?@Conditional多个条件是什么逻辑关系?条件判断在什么时候执...

面试了一个 31 岁程序员,让我有所触动,30岁以上的程序员该何去何从?

最近面试了一个31岁8年经验的程序猿,让我有点感慨,大龄程序猿该何去何从。

【阿里P6面经】二本,curd两年,疯狂复习,拿下阿里offer

二本的读者,在老东家不断学习,最后逆袭

大三实习生,字节跳动面经分享,已拿Offer

说实话,自己的算法,我一个不会,太难了吧

程序员垃圾简历长什么样?

已经连续五年参加大厂校招、社招的技术面试工作,简历看的不下于万份 这篇文章会用实例告诉你,什么是差的程序员简历! 疫情快要结束了,各个公司也都开始春招了,作为即将红遍大江南北的新晋UP主,那当然要为小伙伴们做点事(手动狗头)。 就在公众号里公开征简历,义务帮大家看,并一一点评。《启舰:春招在即,义务帮大家看看简历吧》 一石激起千层浪,三天收到两百多封简历。 花光了两个星期的所有空闲时...

《经典算法案例》01-08:如何使用质数设计扫雷(Minesweeper)游戏

我们都玩过Windows操作系统中的经典游戏扫雷(Minesweeper),如果把质数当作一颗雷,那么,表格中红色的数字哪些是雷(质数)?您能找出多少个呢?文中用列表的方式罗列了10000以内的自然数、质数(素数),6的倍数等,方便大家观察质数的分布规律及特性,以便对算法求解有指导意义。另外,判断质数是初学算法,理解算法重要性的一个非常好的案例。

《Oracle Java SE编程自学与面试指南》最佳学习路线图(2020最新版)

正确选择比瞎努力更重要!

面试官:你连SSO都不懂,就别来面试了

大厂竟然要考我SSO,卧槽。

微软为一人收购一公司?破解索尼程序、写黑客小说,看他彪悍的程序人生!...

作者 | 伍杏玲出品 | CSDN(ID:CSDNnews)格子衬衫、常掉发、双肩包、修电脑、加班多……这些似乎成了大众给程序员的固定标签。近几年流行的“跨界风”开始刷新人们对程序员的...

终于,月薪过5万了!

来看几个问题想不想月薪超过5万?想不想进入公司架构组?想不想成为项目组的负责人?想不想成为spring的高手,超越99%的对手?那么本文内容是你必须要掌握的。本文主要详解bean的生命...

我说我懂多线程,面试官立马给我发了offer

不小心拿了几个offer,有点烦

自从喜欢上了B站这12个UP主,我越来越觉得自己是个废柴了!

不怕告诉你,我自从喜欢上了这12个UP主,哔哩哔哩成为了我手机上最耗电的软件,几乎每天都会看,可是吧,看的越多,我就越觉得自己是个废柴,唉,老天不公啊,不信你看看…… 间接性踌躇满志,持续性混吃等死,都是因为你们……但是,自己的学习力在慢慢变强,这是不容忽视的,推荐给你们! 都说B站是个宝,可是有人不会挖啊,没事,今天咱挖好的送你一箩筐,首先啊,我在B站上最喜欢看这个家伙的视频了,为啥 ,咱撇...

立即提问
相关内容推荐